I have problem with iframe - I want put Synology Drive WEB Site on my site in iframe. I turned off this two options:
and on my website I can open Synology Drive but when I trying loging I have two errors:
and
I tried to add header to server.syno-app-portal.SynologyDrive.conf:
but it`s not working. (Example Domain is my site)
From another thread I have response:
But I don't really understand where to add this Origin
and on my website I can open Synology Drive but when I trying loging I have two errors:
Code:
dsm.login-standalone.bundle.js?v=1683699872:2
Blocked autofocusing on a <input> element in a cross-origin subframe.
Code:
Uncaught (in promise)
I tried to add header to server.syno-app-portal.SynologyDrive.conf:
Code:
add_header Access-Control-Allow-Origin "https://example.com";
but it`s not working. (Example Domain is my site)
From another thread I have response:
This is the header for the server response, if the expected origin inhttps://example.com
What you need to set is the request headerOrigin
with the valuehttps://.example.com
Though, I have no idea whether it's the solution to your problem. If not, someone else will need to pitch in. The tutorial is about the mechanics of how to add custom rules, but not about how rules need to look like, as it is highly application specific.
But I don't really understand where to add this Origin