Merge pull request #274 from skrashevich/fix-exit-code-on-config-save
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user