X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=src%2Fviews%2Fstarter.ejs;fp=src%2Fviews%2Fstarter.ejs;h=e7ac311ff1f1a467602883b06aecb6aa0d8b40b4;hp=0c76240dcac4dba2e93d121b2be79e59e342ab4b;hb=8bd25d906f766566ceee02d3d70e9890689a4c1a;hpb=4ff4cfab60fd88f431c88603d57612fc489dc62f diff --git a/src/views/starter.ejs b/src/views/starter.ejs index 0c76240..e7ac311 100644 --- a/src/views/starter.ejs +++ b/src/views/starter.ejs @@ -30,7 +30,7 @@
- +
@@ -192,7 +192,7 @@ } function sendcommand() { let xhr = new XMLHttpRequest(); - cmd = JSON.stringify(comando.value); + cmd = comando.value; xhr.open('GET', '/sendcommand?cmd=' + cmd, true); xhr.onload = function() { if (xhr.status == 200) { //can use this.status instead