diff --git a/dictation_server/src/main.ts b/dictation_server/src/main.ts index 1f19992..9f2a4fa 100644 --- a/dictation_server/src/main.ts +++ b/dictation_server/src/main.ts @@ -18,7 +18,7 @@ async function bootstrap() { //XXX 特定のオリジンからのリクエストは許可する app.enableCors({ origin: 'http://localhost:8180', - methods: 'GET,PUT,POST,DELETE', + methods: 'GET,PUT,POST,DELETE,OPTION', allowedHeaders: 'Content-Type', }); app.use(