Skip to content

Commit

Permalink
Configure Netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Aug 8, 2024
1 parent c97db2d commit 60bed67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
8 changes: 8 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
publish = 'examples/dist/'
command = 'npm run prepack && npx vite build example'

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

0 comments on commit 60bed67

Please sign in to comment.