v0.14.15-fix

This commit is contained in:
Mateusz Gruszczyński
2026-09-16 17:07:17 +02:00
parent 1862fed87f
commit c7d47db64e
26 changed files with 324 additions and 377 deletions
+2
View File
@@ -312,6 +312,8 @@ function drawCurrentChartIfVisible() {
}
function publicCustomChartUrl(path) {
const configuredPublicBase = String(app.system?.public_chart_base_url || '').trim().replace(/\/+$/, '');
if (configuredPublicBase) return `${configuredPublicBase}${path}`;
if (!APP_BASE.startsWith('/api/hassio_ingress/')) return `${location.origin}${APP_BASE}${path}`;
const bind = String(app.system?.bind || '');
const port = bind.match(/:(\d+)$/)?.[1] || '8787';