Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
許可オリジンを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryo-7 committed Sep 6, 2024
1 parent 156a808 commit 8dd6afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/router/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const app = new Hono()
.use(
"/",
cors({
origin: ["https://rod.expfrom.me", "http://localhost:8000"],
origin: ["https://cocktail-message-api.deno.dev", "http://localhost:8000"],
allowHeaders: [
"X-Custom-Header",
"Upgrade-Insecure-Requests",
Expand Down

0 comments on commit 8dd6afd

Please sign in to comment.