Skip to content

Commit

Permalink
fix: add explicit cors (#1175)
Browse files Browse the repository at this point in the history
* chore: add explicit cors

* Create dull-badgers-brake.md
  • Loading branch information
julianiff authored Jan 31, 2025
1 parent a01a344 commit c0d2426
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-badgers-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@frontify/frontify-cli": patch
---

fix: add explicit cors
1 change: 1 addition & 0 deletions packages/cli/src/servers/platformAppDevelopmentServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class PlatformAppDevelopmentServer {
define: {
'process.env.NODE_ENV': JSON.stringify('development'),
},
server: { cors: true },
plugins: [
react(),
{
Expand Down

0 comments on commit c0d2426

Please sign in to comment.