v0.14.15-fix
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user