From 27dc749232cdf4edb418fb492454c405030375ec Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Fri, 9 Aug 2024 12:09:38 +0200 Subject: [PATCH] Fix the Netlify deployment The build command had changed. Also the JSON example fetches JSON schemas from arbritrary URLs. --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index df87df1..0ee5889 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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'"