Skip to content
Snippets Groups Projects
Commit 0d997171 authored by Wo-ogie's avatar Wo-ogie
Browse files

chore: cors credentials 허용 설정

parent 48c1e01b
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment