Skip to content

Commit

Permalink
update: cors option
Browse files Browse the repository at this point in the history
siwonpada committed Oct 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2f1da58 commit 355e55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ async function bootstrap() {
);
// CORS 설정
const whitelist = [
/^https:\/\/.*.idp-fe.pages.dev$/, // for idp fe preview pages
/^https:\/\/.*\.idp-fe\.pages\.dev$/, // for idp fe preview pages
/^https:\/\/.*idp\.gistory\.me$/, // for idp fe production pages
/^http:\/\/localhost:3000$/, // for local development
];

0 comments on commit 355e55c

Please sign in to comment.