From de2b2227e2dcbe600679b4e59f8bb3c0a838c7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=8E=E8=97=A4=E3=80=80=E5=BF=AB=E6=96=97?= Date: Wed, 17 May 2023 10:50:47 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A8=B1=E5=8F=AF=E3=81=99=E3=82=8B=E3=83=A1?= =?UTF-8?q?=E3=82=BD=E3=83=83=E3=83=89=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dictation_server/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(