Skip to content

Commit

Permalink
update cors for app urls
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Apr 2, 2024
1 parent 5242b10 commit 290b4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/config/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export const ALLOWED_ORIGINS = [
// including localhost versions
'http://localhost:4444',
// app origins
...appIds.map((id) => `https://${id}.${UI_ORIGIN}`),
...apps.map((app) => app.url),
...apps.map((app) => app.devOriginOverride),
];

0 comments on commit 290b4fc

Please sign in to comment.