ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
333 stars 98 forks source link

Unexpected bocked by CORS policy #63

Closed badass-ivan closed 1 year ago

badass-ivan commented 1 year ago

On my website I use tonconnect/ui. It used to work, but today, when I try to connect a wallet, I get this message on tonConnect.connectWallet()

Access to resource at 'https://tonconnectbridge.mytonwallet.org/bridge/events?client_id=....' 
from origin 'https://.....' has been blocked by CORS policy: 
The 'Access-Control-Allow-Origin' header has a value
'https://mytonwallet.app' that is not equal to the supplied origin.

image

badass-ivan commented 1 year ago

Resolved by mytonwallet.app https://t.me/mytonwallet_group/12/679