Skip to content

Commit

Permalink
fix csp
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Apr 16, 2024
1 parent d12043d commit 4b0818c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ export default defineConfig({
'react-use/esm/useWindowScroll',
],
},
build: {
// Allow a strict Content-Security-Policy
// withtout inlining assets as base64:
assetsInlineLimit: 0,
},
});

0 comments on commit 4b0818c

Please sign in to comment.