Ver Fonte

新增ip, 解决跨域问题

liyuyi@c-top.com.cn há 3 anos atrás
pai
commit
64402ad3d4
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      main.py

+ 1 - 0
main.py

@@ -49,6 +49,7 @@ with open('/data/pythonProject/video_to_word/config/config.yaml', mode='r', enco
 threadPool = ThreadPoolExecutor(max_workers=4)
 app = FastAPI()
 origins = [
+    "http://192.168.0.195:9001",
     "http://192.168.6.220:3000",
     "http://192.168.1.34",
     "http://192.168.1.34:8000",