We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b360aa2 commit ddd89a7Copy full SHA for ddd89a7
dashboard/src/entrypoint/main.ts
@@ -6,7 +6,7 @@ async function main() {
6
let url = "";
7
8
// 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");
+ const isProductionServer = location.href.includes(":5580") || location.href.includes("hassio_ingress") || location.href.includes("/api/ingress/");
10
11
if (!isProductionServer) {
12
// development server, ask for url to matter server
0 commit comments