Skip to content

Commit 27dc749

Browse files
committed
Fix the Netlify deployment
The build command had changed. Also the JSON example fetches JSON schemas from arbritrary URLs.
1 parent 138ad50 commit 27dc749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netlify.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build]
22
publish = 'build/'
3-
command = 'npm run prepack && npx vite build example'
3+
command = 'npx vite build'
44

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

0 commit comments

Comments
 (0)