Merge pull request #274 from skrashevich/fix-exit-code-on-config-save

This commit is contained in:
Alexey Khit
2023-06-29 22:03:44 +03:00
+1 -1
View File
@@ -42,7 +42,7 @@
}).then(r => {
if (r.ok) {
alert('OK');
fetch('api/exit', {method: 'POST'});
fetch('api/exit?code=1', {method: 'POST'});
} else {
r.text().then(alert);
}