Fix code style for HTML/JS files

This commit is contained in:
Alex X
2024-04-30 09:59:53 +03:00
parent b8b90aba51
commit fd6014c11f
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
r = await fetch('api/config', {method: 'POST', body: editor.getValue()});
if (r.ok) {
alert('OK');
fetch('api/restart', {method: 'POST'});
await fetch('api/restart', {method: 'POST'});
} else {
alert(await r.text());
}