hassio-addons / addon-uptime-kuma

Uptime Kuma - Home Assistant Community Add-ons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't embed to iFrame

marciogranzotto opened this issue · comments

Problem/Motivation

By default, Uptime Kume doesn't allow being embedded in an iframe. Because of that, it cannot be added to the Home Assistant sidebar.

Expected behavior

Being able to access it from the sidebar

Actual behavior

Doesn't work

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

A UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN environment variable can be set to allow embedding in an iframe.

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

Can this ticket be re-opened? I'd like to know if @marciogranzotto proposed solution would work to have uptime kuma in HA sidebar

Can this ticket be re-opened? I'd like to know if @marciogranzotto proposed solution would work to have uptime kuma in HA sidebar

yes, I'm using my fork as a local add-on on my instance