Skip to content

Commit

Permalink
fix(csp): add audio.transistor.fm to media-src
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCatLady committed Jun 10, 2024
1 parent 3b071fd commit 82f7112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function middleware(request: NextRequest) {
script-src 'self' 'nonce-${nonce}' 'strict-dynamic';
style-src 'self' 'unsafe-inline';
img-src 'self' blob: data:;
media-src 'self' https://media.transistor.fm;
media-src 'self' https://media.transistor.fm https://audio.transistor.fm;
frame-src 'self' https://www.google.com https://recaptcha.google.com;
font-src 'self';
object-src 'none';
Expand Down

0 comments on commit 82f7112

Please sign in to comment.