chao преди 1 година
родител
ревизия
509eee3f8d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      public/index.html

+ 1 - 1
public/index.html

@@ -1042,7 +1042,7 @@
             }
 
             try{
-                const response = fetch(requesturl+"api/update", {
+                const response = await fetch(requesturl+"api/update", {
                     method: "POST",
                     headers: {
                         "Content-Type": "application/json"