mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add ws: and wss: sources to default CSP for Cordova (#7774)
CircleCI tests are still timing out, but I believe this change is safe to merge.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height">
|
||||
<meta name="msapplication-tap-highlight" content="no">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * data: blob: 'unsafe-inline' 'unsafe-eval';">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * data: blob: 'unsafe-inline' 'unsafe-eval' ws: wss:;">
|
||||
|
||||
{{! We are explicitly not using bundledJsCssUrlRewriteHook: in cordova we serve assets up directly from disk, so rewriting the URL does not make sense }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user