ming 3 rokov pred
rodič
commit
b7b5ab5722
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      main.py
  2. 1 1
      progress.html

+ 1 - 1
main.py

@@ -1,4 +1,4 @@
-from fastapi import FastAPI,Cookie, Depends, FastAPI, Query, WebSocket, status, WebSocketDisconnect
+from fastapi import FastAPI,Cookie, Depends, FastAPI, Query, WebSocket, status
 import openshot
 from os import listdir
 from os.path import isfile, isdir, join

+ 1 - 1
progress.html

@@ -28,7 +28,7 @@
         <ul id='messages'>
         </ul>
         <script>
-            var ws = new WebSocket('ws://www.choozmo.com:8888/progress/');
+            var ws = new WebSocket('ws://www.choozmo.com:8888/progress');
             ws.onmessage = function(event) {
                 var elem = document.getElementById("myBar");
                 elem.style.width = event.data + "%";