Skip to content

Commit

Permalink
add: flutterkaigi.jpをCORSに追加
Browse files Browse the repository at this point in the history
  • Loading branch information
YumNumm committed Oct 20, 2024
1 parent 24bd1e4 commit a0b33e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ app.use(
if (
origin.startsWith("https://") &&
(origin.endsWith("flutterkaigi-ticket-2024.pages.dev") ||
origin.endsWith("flutterkaigi-ticket-2024-staging.pages.dev"))
origin.endsWith("flutterkaigi-ticket-2024-staging.pages.dev") ||
origin.endsWith("flutterkaigi.jp"))
) {
return origin;
}
Expand Down

0 comments on commit a0b33e1

Please sign in to comment.