Changeset 353c39c in Klonkt
- Timestamp:
- 05/20/2026 10:19:03 PM (4 months ago)
- Branches:
- main
- Children:
- c88783e
- Parents:
- 21522ae
- File:
-
- 1 edited
-
src/server.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/server.js
r21522ae r353c39c 64 64 imgSrc: ["'self'", "data:", "https:"], 65 65 connectSrc: ["'self'", "wss:", "ws:"], 66 mediaSrc: ["'self'", "https:"], 66 // blob: is required for the audio player — it fetch()es track bytes and 67 // plays from a blob: object URL (Spotify-style). Without blob: here the 68 // CSP silently blocks <audio>.src = blob:… → the player fires 'error' and 69 // auto-skips every track. 'self'/https: do NOT imply blob:. 70 mediaSrc: ["'self'", "https:", "blob:"], 67 71 fontSrc: ["'self'"], 68 72 frameSrc: [
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)