Skip to content

Commit dfc0549

Browse files
committed
Update Content Security Policy to allow media sources from SoundCloud
1 parent b886f6c commit dfc0549

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ AddDefaultCharset utf-8
489489

490490
<IfModule mod_headers.c>
491491

492-
Header set Content-Security-Policy: "default-src 'self' https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.4.6/rollbar.min.js; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.4.6/rollbar.min.js; img-src 'self' data: stats.g.doubleclick.net https://i1.sndcdn.com; font-src https://fonts.gstatic.com; https://api.rollbar.com/api/1/item/ https://cdnjs.cloudflare.com https://soundcloud-api.vercel.app"
492+
Header set Content-Security-Policy: "default-src 'self' https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.4.6/rollbar.min.js; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.4.6/rollbar.min.js; img-src 'self' data: stats.g.doubleclick.net https://i1.sndcdn.com; media-src 'self' https://soundcloud-api.vercel.app/api https://ec-media.sndcdn.com https://cf-media.sndcdn.com; font-src https://fonts.gstatic.com; connect-src https://soundcloud-api.vercel.app/api https://api.rollbar.com/api/1/item/ https://cdnjs.cloudflare.com https://soundcloud-api.vercel.app"
493493

494494
# `mod_headers` cannot match based on the content-type, however,
495495
# the `Content-Security-Policy` response header should be send

public/service-worker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)