mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-28 07:56:37 +01:00
Added ${config.base} when calling /api/logs?id=... (#582)
Co-authored-by: Bart Meuris <bart@mebasys.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user