Skip to content

Commit

Permalink
Fix CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Feb 12, 2024
1 parent 2522c76 commit dcfa69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const start = async ({
contentSecurityPolicy: {
useDefaults: false,
directives: {
defaultSrc: ["*", "data:*", "'unsafe-inline'"],
defaultSrc: ["*", "data:", "blob:", "'unsafe-inline'"],
frameAncestors: ["'self'"],
},
},
Expand Down

0 comments on commit dcfa69f

Please sign in to comment.