Skip to content

Commit

Permalink
refactor: Fix devserver by setting cors: true
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 22, 2025
1 parent 2589a32 commit 08f5387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildchain/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default defineConfig(({command}) => ({
preserveSymlinks: true,
},
server: {
cors: true, // Allow cross-origin requests -- https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6
fs: {
strict: false
},
Expand Down

0 comments on commit 08f5387

Please sign in to comment.