diff --git a/dashboard/src/entrypoint/main.ts b/dashboard/src/entrypoint/main.ts index 21c157f3..faaa7982 100644 --- a/dashboard/src/entrypoint/main.ts +++ b/dashboard/src/entrypoint/main.ts @@ -6,7 +6,7 @@ async function main() { let url = ""; // Detect if we're running in the (production) webserver included in the matter server or not. - const isProductionServer = location.href.includes(":5580") || location.href.includes("hassio_ingress"); + const isProductionServer = location.href.includes(":5580") || location.href.includes("hassio_ingress") || location.href.includes("/api/ingress/"); if (!isProductionServer) { // development server, ask for url to matter server