fix: remove noreferrer from payment links to preserve Referer header

WATA DDoS Guard blocks requests without Referer (403 error).
Removed noreferrer from window.open and <a> tags on payment URLs.
noopener alone is sufficient for security (prevents window.opener access).
This commit is contained in:
Fringg
2026-03-09 21:53:55 +03:00
parent 4322d58ff8
commit 45203dac59
3 changed files with 4 additions and 4 deletions

View File

@@ -203,11 +203,11 @@ export function createWebAdapter(): PlatformContext {
},
openLink(url: string, _options?: { tryInstantView?: boolean }) {
window.open(url, '_blank', 'noopener,noreferrer');
window.open(url, '_blank', 'noopener');
},
openTelegramLink(url: string) {
window.open(url, '_blank', 'noopener,noreferrer');
window.open(url, '_blank', 'noopener');
},
async share(text: string, url?: string): Promise<boolean> {