Skip to content

Commit

Permalink
Fixing QR code CSP. (#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Nov 13, 2023
1 parent 890a192 commit fe28c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function setDefaultCsp({
style-src 'self' 'unsafe-inline';
form-action 'self';
base-uri 'self';
blob: 'self';
frame-src *;
media-src * data:`.replace(/\s+/g, " "),
);
Expand Down

0 comments on commit fe28c69

Please sign in to comment.