Skip to content

Commit

Permalink
feat: Temporarily allow forwarded port for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhulk committed Nov 6, 2024
1 parent 60c7803 commit e915063
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/backend/src/bootstrap/loaders/express.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ export default async (
app.use(
cors({
// Allow requests from the local frontend (should be the only requirement)
origin: [config.url, "http://localhost:8080", "http://localhost:5173"],
origin: [
config.url,
"http://localhost:8080",
"http://localhost:5173",
// TODO: Remove
"https://gn980r4n-8080.usw3.devtunnels.ms",
],
credentials: true,
})
);
Expand Down

0 comments on commit e915063

Please sign in to comment.