Skip to content

Commit

Permalink
fix: allow both FE addresses through cors
Browse files Browse the repository at this point in the history
  • Loading branch information
gmat224 committed Dec 22, 2024
1 parent 7707708 commit e01ed75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ app.use(
cors({
origin: [
`${process.env.DOMAIN_FRONTEND}`, //FE
`${process.env.DOMAIN_FRONTEND_AAAA}`,
`${process.env.DOMAIN_STRAPI}`, //Strapi
`${process.env.DOMAIN_SUPERTOKENS}`, //ST user Dashboard
`${process.env.DATABASE_HOST}:${process.env.DATABASE_PORT}`, //DB
Expand Down

0 comments on commit e01ed75

Please sign in to comment.