[dev] Allow all WS connections locally (#3707)
This commit is contained in:
parent
65c0ef329a
commit
aa120959e6
@ -37,7 +37,7 @@ const {
|
|||||||
|
|
||||||
const CSP = `
|
const CSP = `
|
||||||
default-src 'self';
|
default-src 'self';
|
||||||
connect-src 'self' wss://*.web.telegram.org blob: http: https:;
|
connect-src 'self' wss://*.web.telegram.org blob: http: https: ${APP_ENV === 'development' ? 'wss:' : ''};
|
||||||
script-src 'self' 'wasm-unsafe-eval' https://t.me/_websync_ https://telegram.me/_websync_;
|
script-src 'self' 'wasm-unsafe-eval' https://t.me/_websync_ https://telegram.me/_websync_;
|
||||||
style-src 'self' 'unsafe-inline';
|
style-src 'self' 'unsafe-inline';
|
||||||
img-src 'self' data: blob: https://ss3.4sqi.net/img/categories_v2/ ${IS_ELECTRON ? BASE_URL : ''};
|
img-src 'self' data: blob: https://ss3.4sqi.net/img/categories_v2/ ${IS_ELECTRON ? BASE_URL : ''};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user