Fix TON Connect

This commit is contained in:
Alexander Zinchuk 2025-07-04 14:12:16 +02:00
parent 98e0c38d9c
commit cc597fe373

View File

@ -46,7 +46,7 @@ const CSP = `
${IS_PACKAGED_ELECTRON ? `${BASE_URL}/` : ''};
media-src 'self' blob: data: ${IS_PACKAGED_ELECTRON ? [`${BASE_URL}/`, ELECTRON_HOST_URL].join(' ') : ''};
object-src 'none';
frame-src http: https:;
frame-src http: https: mytonwallet-tc:;
base-uri 'none';
form-action 'none';`
.replace(/\s+/g, ' ').trim();