We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b7de6 commit 9a854f9Copy full SHA for 9a854f9
src/backend/src/main.ts
@@ -8,6 +8,7 @@ async function bootstrap() {
8
app.enableCors({
9
origin: [process.env.CLIENT_ENDPOINT],
10
credentials: true,
11
+ allowedHeaders: ['Content-Type', 'Apollo-Require-Preflight'],
12
});
13
14
await app.listen(process.env.PORT ?? 3001);
0 commit comments