night-cherry 1 mēnesi atpakaļ
vecāks
revīzija
7b0403e181
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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");