Add all tonconnect deeplink protocols to frame-src

This commit is contained in:
Alexander Zinchuk 2025-10-08 12:33:16 +02:00
parent f7c11d7b58
commit d62cd024a9

View File

@ -44,7 +44,9 @@ const CSP = `
img-src 'self' data: blob: https://ss3.4sqi.net/img/categories_v2/; img-src 'self' data: blob: https://ss3.4sqi.net/img/categories_v2/;
media-src 'self' blob: data:; media-src 'self' blob: data:;
object-src 'none'; object-src 'none';
frame-src http: https: mytonwallet-tc:; frame-src http: https:
bitkeep: bnc: bybitapp: echooo: imtokenv2: mytonwallet-tc:
nicegram-tc: safepal-tc: tonkeeper-pro-tc: tonkeeper-tc:;
base-uri 'none'; base-uri 'none';
form-action 'none';` form-action 'none';`
.replace(/\s+/g, ' ').trim(); .replace(/\s+/g, ' ').trim();