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 9e17dc3 commit a20b60bCopy full SHA for a20b60b
1 file changed
src/main.ts
@@ -17,12 +17,13 @@ async function bootstrap() {
17
initializeTransactionalContext();
18
const app = await NestFactory.create(AppModule);
19
app.enableCors({
20
- // origin: [
21
- // // 'https://grafana.writon.co.kr',
22
- // // 'https://api.writon.co.kr',
23
- // // 'https://www.writon.co.kr',
24
- // ],
25
- origin: '*',
+ origin: [
+ 'https://grafana.writon.co.kr',
+ 'https://api.writon.co.kr',
+ 'https://www.writon.co.kr',
+ 'localhost:5173',
+ ],
26
+ //origin: '*',
27
credentials: true,
28
exposedHeaders: ['Authorization'], // * 사용할 헤더 추가.
29
});
0 commit comments