From 0d997171914ef3d82af1bc0d6178cfca203d112a Mon Sep 17 00:00:00 2001
From: Wo-ogie <siwall0105@gmail.com>
Date: Tue, 5 Dec 2023 13:32:51 +0900
Subject: [PATCH] =?UTF-8?q?chore:=20cors=20credentials=20=ED=97=88?=
 =?UTF-8?q?=EC=9A=A9=20=EC=84=A4=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app.js b/app.js
index 2897b98..46a87da 100644
--- a/app.js
+++ b/app.js
@@ -35,7 +35,7 @@ app.use((req, res, next) => {
 app.use(express.static(path.join(__dirname, 'public')));
 app.use(express.json());
 app.use(express.urlencoded({ extended: false }));
-app.use(cors());
+app.use(cors({ origin: true, credentials: true }));
 app.use(cookieParser(process.env.COOKIE_SECRET));
 app.use(
   session({
-- 
GitLab