Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
IslamZaoui committed Sep 29, 2024
1 parent 27f21a8 commit 220b43c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions apps/demo/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ export const handle = securityHeaders({
directives: {
'base-uri': ["'self'"],
'child-src': ["'self'"],
'connect-src': ["'self'", 'ws://localhost:*', "wss://ws-us3.pusher.com", "https://sockjs-us3.pusher.com"],
'connect-src': [
"'self'",
'ws://localhost:*',
'wss://ws-us3.pusher.com',
'https://sockjs-us3.pusher.com'
],
'img-src': ["'self'", 'data:'],
'font-src': ["'self'", 'data:'],
'form-action': ["'self'"],
Expand All @@ -22,7 +27,7 @@ export const handle = securityHeaders({
'manifest-src': ["'self'"],
'media-src': ["'self'", 'data:'],
'object-src': ["'none'"],
'style-src': ["'self'", "'unsafe-inline'", "https://vercel.live"],
'style-src': ["'self'", "'unsafe-inline'", 'https://vercel.live'],
'default-src': ["'self'", origin],
'script-src': ["'self'", 'https://vercel.live'],
'worker-src': ["'self'"]
Expand Down

0 comments on commit 220b43c

Please sign in to comment.