Skip to content

Commit 186e395

Browse files
Admin panel dark light mode + axios
1 parent a0ea4d3 commit 186e395

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ app.use(cors({
1010
credentials: true,
1111
allowedHeaders: ["Content-Type", "Authorization"],
1212
methods: ["GET", "POST", "PUT", "DELETE", "PATCH"],
13+
exposedHeaders: ["set-cookie"],
14+
preflightContinue: true,
15+
optionsSuccessStatus: 200
1316
}));
1417

1518

0 commit comments

Comments
 (0)