mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
Fix APIs for preview and log in reverse proxy
This commit is contained in:
@@ -78,7 +78,7 @@ async function logMonitor() {
|
||||
for (const line of lines) addLogLine(line);
|
||||
if (!logConnected) {
|
||||
logConnected = true;
|
||||
xhrPost('/sdapi/v1/log', { debug: 'connected' });
|
||||
xhrPost(`${window.api}/sdapi/v1/log`, { debug: 'connected' });
|
||||
}
|
||||
} else {
|
||||
logConnected = false;
|
||||
|
||||
Reference in New Issue
Block a user