From 42007a7ad2fdeaa2a9361fa333620b3f354ee50e Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Thu, 1 Sep 2022 19:07:42 +0400 Subject: [PATCH] weeeird --- account/src/index.ts | 1 + 1 file changed, 1 insertion(+) 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);