Code refactoring after #274

This commit is contained in:
Alexey Khit
2023-06-29 22:08:17 +03:00
parent 1c3835f2a8
commit 37abe2ce0d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
## Exit codes
- https://tldp.org/LDP/abs/html/exitcodes.html
- https://komodor.com/learn/exit-codes-in-containers-and-kubernetes-the-complete-guide/
+1 -1
View File
@@ -42,7 +42,7 @@
}).then(r => {
if (r.ok) {
alert('OK');
fetch('api/exit?code=1', {method: 'POST'});
fetch('api/exit?code=100', {method: 'POST'});
} else {
r.text().then(alert);
}