Merge branch 'dev' of github.com:Tria-plc/edr-platform into freight/feature/user_management_UI

This commit is contained in:
natib21
2026-07-14 09:29:11 +00:00

View File

@@ -21,6 +21,9 @@ class ApiClient {
if (token && token !== "null" && token !== "undefined") {
config.headers.Authorization = `Bearer ${token}`;
}
if (typeof window !== "undefined") {
config.headers["X-Frontend-Base-URL"] = window.location.origin;
}
return config;
});