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 d6721cf commit 0a74ffbCopy full SHA for 0a74ffb
src/main.ts
@@ -22,7 +22,7 @@ async function bootstrap() {
22
},
23
credentials: true,
24
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
25
- allowedHeaders: '*', // <--- important change
+ allowedHeaders: ['Content-Type', 'Authorization', 'Accept'], // ✅ explicit list
26
preflightContinue: false,
27
optionsSuccessStatus: 204,
28
});
0 commit comments