chao 8 месяцев назад
Родитель
Сommit
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"