Skip to content

Commit ddd89a7

Browse files
authored
Add support for HACS hass_ingress integration (#940)
1 parent b360aa2 commit ddd89a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/entrypoint/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ async function main() {
66
let url = "";
77

88
// Detect if we're running in the (production) webserver included in the matter server or not.
9-
const isProductionServer = location.href.includes(":5580") || location.href.includes("hassio_ingress");
9+
const isProductionServer = location.href.includes(":5580") || location.href.includes("hassio_ingress") || location.href.includes("/api/ingress/");
1010

1111
if (!isProductionServer) {
1212
// development server, ask for url to matter server

0 commit comments

Comments
 (0)