Skip to content

Commit

Permalink
mở cors cho gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aycact committed Oct 1, 2024
1 parent 5cdbb55 commit b094a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ app.set('trust proxy', 1)
app.use(helmet())
app.use(
cors({
origin: ['http://localhost:5173', 'https://bookstore.ayclqt.id.vn', 'https://3v2t.github.io'],
origin: ['http://localhost:5173', 'https://bookstore.ayclqt.id.vn', 'https://[2606:50c0:8000::153]', 'https://[2606:50c0:8001::153]', 'https://[2606:50c0:8002::153]', 'https://[2606:50c0:8003::153]'],
credentials: true,
})
)
Expand Down

2 comments on commit b094a58

@vercel
Copy link

@vercel vercel bot commented on b094a58 Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b094a58 Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.