Skip to content

Commit

Permalink
fix(xo-web/host/advanced): use relative path
Browse files Browse the repository at this point in the history
This is required to avoid breaking reverse proxies with a preppended path.
  • Loading branch information
julien-f committed Jun 25, 2024
1 parent b393d72 commit 3235963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-web/src/xo-app/host/tab-advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3235963

Please sign in to comment.