diff --git a/packages/frontend/electron/src/main/protocol.ts b/packages/frontend/electron/src/main/protocol.ts index ec1d875ec1..448ab5d424 100644 --- a/packages/frontend/electron/src/main/protocol.ts +++ b/packages/frontend/electron/src/main/protocol.ts @@ -116,6 +116,10 @@ export function registerProtocol() { .join('; '); details.requestHeaders['cookie'] = cookieString; } + + // add the referer and origin headers + details.requestHeaders['referer'] ??= CLOUD_BASE_URL; + details.requestHeaders['origin'] ??= CLOUD_BASE_URL; } callback({ cancel: false,