Skip to content

Commit

Permalink
fix(worker/global): apply allowedHeaders again (#29281)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored May 27, 2024
1 parent cc5f68e commit 842f205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workers/global/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ export async function start(): Promise<number> {
// initialize all submodules
config = await globalInitialize(config);

// Set platform and endpoint in case local presets are used
// Set platform, endpoint and allowedHeaders in case local presets are used
GlobalConfig.set({
allowedHeaders: config.allowedHeaders,
platform: config.platform,
endpoint: config.endpoint,
});
Expand Down

0 comments on commit 842f205

Please sign in to comment.