sync build tree from private myoffice

This commit is contained in:
myoffice-sync
2026-08-06 12:05:38 +00:00
parent 763a580c51
commit ebe6b6039e
4 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ function resolveAllowedUrls(): string[] {
}
const origin = publicOrigin();
const api = (environment.apiUrl ?? '').trim().replace(/\/$/, '');
return api ? [origin, api] : [origin];
// Relative ApiRoutes (`/api/...`) need '/api' in allowedUrls or the Bearer is never sent.
return api ? [origin, api, '/api'] : [origin, '/api'];
}
export const AuthCodeFlowConfig: AuthConfig = {