Skip to content

Commit

Permalink
Fix the Netlify deployment
Browse files Browse the repository at this point in the history
The build command had changed. Also the JSON example fetches JSON
schemas from arbritrary URLs.
  • Loading branch information
remcohaszing committed Aug 9, 2024
1 parent 138ad50 commit 27dc749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build]
publish = 'build/'
command = 'npm run prepack && npx vite build example'
command = 'npx vite build'

[[headers]]
for = '/*'
[headers.values]
Content-Security-Policy = "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'"
Content-Security-Policy = "default-src 'self'; connect-src *; img-src 'self' data:; style-src 'self' 'unsafe-inline'"

0 comments on commit 27dc749

Please sign in to comment.