-
Notifications
You must be signed in to change notification settings - Fork 498
Description
Describe the bug
Failed to open my website in draft mode.
I got this error message "The connection is blocked because it was initiated by a public page to connect to devices or servers on your private network. Reload this page to allow the connection."
To Reproduce
Steps to reproduce the behavior:
- Have a website that is only accessible via VPN.
- Go to the Sanity Presentation Tool.
- Try to connect to your website and observe the error.
Expected behavior
Presentation tool can open website
Which versions of Sanity are you using?
4.10.2
What operating system are you using?
Macos 26.0.1
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
10.9.3
v22.19.0
Additional context
In last update Chrome add new feature https://chromestatus.com/feature/5152728072060928. It blocks private connections from public websites. So, according this doc from google, could you add allow=”local-network-access *” to iframe tag to resolve this problem?