diff --git a/account/src/index.ts b/account/src/index.ts index 6419865..7efe698 100644 --- a/account/src/index.ts +++ b/account/src/index.ts @@ -18,6 +18,7 @@ app.use(cors({ // origin: "*", origin: inProd ? /\.lingdocs\.com$/ : "*", credentials: true, + methods: "GET,HEAD,PUT,PATCH,POST,DELETE", })); if (inProd) app.set('trust proxy', 1); setupSession(app);