diff --git a/server/front/src/index.ts b/server/front/src/index.ts index 27fddd533c..3a36e6a2a8 100644 --- a/server/front/src/index.ts +++ b/server/front/src/index.ts @@ -240,6 +240,7 @@ export function start ( collaboratorApiUrl: string brandingUrl?: string previewConfig: string + pushPublicKey?: string }, port: number, extraConfig?: Record @@ -279,6 +280,7 @@ export function start ( COLLABORATOR_API_URL: config.collaboratorApiUrl, BRANDING_URL: config.brandingUrl, PREVIEW_CONFIG: config.previewConfig, + PUSH_PUBLIC_KEY: config.pushPublicKey, ...(extraConfig ?? {}) } res.set('Cache-Control', cacheControlNoCache) diff --git a/server/front/src/starter.ts b/server/front/src/starter.ts index d67358350c..f9a8fd5b1a 100644 --- a/server/front/src/starter.ts +++ b/server/front/src/starter.ts @@ -106,6 +106,8 @@ export function startFront (ctx: MeasureContext, extraConfig?: Record