From 3235963cfb0d142677af42424ffa545597bc8ab1 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 25 Jun 2024 16:40:33 +0200 Subject: [PATCH] fix(xo-web/host/advanced): use relative path This is required to avoid breaking reverse proxies with a preppended path. --- packages/xo-web/src/xo-app/host/tab-advanced.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xo-web/src/xo-app/host/tab-advanced.js b/packages/xo-web/src/xo-app/host/tab-advanced.js index 31d42d8c41f..67d27b548ab 100644 --- a/packages/xo-web/src/xo-app/host/tab-advanced.js +++ b/packages/xo-web/src/xo-app/host/tab-advanced.js @@ -376,7 +376,7 @@ export default class extends Component { ), }).then(memory => setControlDomainMemory(this.props.host.id, memory), noop) - _accessAdvancedLiveTelemetry = () => window.open(`/netdata/v1/host/${encodeURIComponent(this.props.host.hostname)}/`) + _accessAdvancedLiveTelemetry = () => window.open(`./netdata/v1/host/${encodeURIComponent(this.props.host.hostname)}/`) _enableAdvancedLiveTelemetry = async host => { await enableAdvancedLiveTelemetry(host)