MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.
set 'X-Frame-Options' to 'sameorigin'.
-
how can i disable x-frame options on the MM. i Want to see the MM in a Iframe on iobroker
thanks for help
-
@MichaelKrems Considering you know what you are doing suggesting below.
Change below line in server.js, let me know if that works.
app.use(helmet({ contentSecurityPolicy: false }));
to
app.use(helmet({ contentSecurityPolicy: false, frameguard: false }));
It should work as below
-
No
still same error
“Refused to display ‘http://10.0.0.192:8080/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.”MM and IoBroker not on the same Pi
iobroker 10.0.0.x1
MM 10.0.0.x2