Browse Source

fix: add new ipc to csp config in streaming example, closes #7842 (#7849)

Fabian-Lars 1 year ago
parent
commit
d6fd121974
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/streaming/tauri.conf.json

+ 1 - 1
examples/streaming/tauri.conf.json

@@ -51,7 +51,7 @@
       }
     ],
     "security": {
-      "csp": "default-src 'self' ipc:; media-src stream: http://stream.localhost asset: http://asset.localhost",
+      "csp": "default-src 'self'; connect-src ipc: http://ipc.localhost; media-src stream: http://stream.localhost asset: http://asset.localhost",
       "assetProtocol": {
         "scope": [
           "**/test_video.mp4"