From 7f4e3e361d7aed8751a1d5637221c8c64d3d75d1 Mon Sep 17 00:00:00 2001 From: Boseong Date: Mon, 24 Jun 2024 03:21:54 +0900 Subject: [PATCH] fix: cors whitelist domain --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 1eee3ae..1d349fb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,7 +9,7 @@ async function bootstrap() { // set CORS config const whitelist = [ /https:\/\/.*gistalk.gistory.me/, - /https:\/\/.*gistalk-frontend.pages.dev/, + /https:\/\/.*gistalk-fe.pages.dev/, ]; app.enableCors({ origin: function (origin, callback) {