diff --git a/www/editor.html b/www/editor.html
index 605d3ad0..a9f90f71 100644
--- a/www/editor.html
+++ b/www/editor.html
@@ -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);
}