Fix APIs for preview and log in reverse proxy

This commit is contained in:
Chia-Jung Hsu
2025-09-01 15:30:40 +02:00
parent 3ec0d35d89
commit c6689d9f20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;