night-cherry 1 miesiąc temu
rodzic
commit
7b0403e181
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -91,7 +91,7 @@ const app=createApp({
     request.onload=function(){
       console.log("parse tomcat server string");
       const res=JSON.parse(request.responseText);
-      this.tomcat_res=res;
+      this.tomcat_res=res["message"];
       console.log("res:"+res);
     };
     request.open("POST","http://ancientapes.cc:8080/mineluxuries/book");