diff --git a/assets/components/LogEventSource.vue b/assets/components/LogEventSource.vue index f4cf46a4..f9ec55fb 100644 --- a/assets/components/LogEventSource.vue +++ b/assets/components/LogEventSource.vue @@ -62,7 +62,7 @@ export default { const delta = to - last; const from = new Date(to.getTime() + delta); const logs = await ( - await fetch(`/api/logs?id=${this.id}&from=${from.toISOString()}&to=${to.toISOString()}`) + await fetch(`${config.base}/api/logs?id=${this.id}&from=${from.toISOString()}&to=${to.toISOString()}`) ).text(); if (logs) { const newMessages = logs