sync build tree from private myoffice
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user