Skip to content

Commit

Permalink
Add subdomains for cors
Browse files Browse the repository at this point in the history
  • Loading branch information
rphovley committed Sep 28, 2024
1 parent 589a7bb commit e3d444d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ export async function bootstrap() {
origin: isProd()
? [
'https://codeclimbers.io',
/\.codeclimbers\.io$/,
'chrome-extension://fdmoefklpgbjapealpjfailnmalbgpbe',
]
: [
'https://codeclimbers.io',
'chrome-extension://fdmoefklpgbjapealpjfailnmalbgpbe',
'http://localhost:5173',
/\.codeclimbers\.io$/,
/\.web\.app$/,
],
credentials: true,
Expand Down

0 comments on commit e3d444d

Please sign in to comment.