diff --git a/packages/core/client/src/api-client/APIClient.ts b/packages/core/client/src/api-client/APIClient.ts index 2695c40e1..413ef818f 100644 --- a/packages/core/client/src/api-client/APIClient.ts +++ b/packages/core/client/src/api-client/APIClient.ts @@ -59,6 +59,7 @@ export class APIClient { authMiddleware() { this.axios.interceptors.request.use((config) => { const token = localStorage.getItem(this.tokenKey); + config.headers['X-Hostname'] = window.location.hostname; if (token) { config.headers['Authorization'] = `Bearer ${token}`; }