瀏覽代碼

Merge pull request #12883 from Classic298/patch-1

fix: UVICORN_WORKERS __init__.py pass application as string
Tim Jaeryang Baek 5 月之前
父節點
當前提交
30e84adb51
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/open_webui/__init__.py

+ 1 - 1
backend/open_webui/__init__.py

@@ -76,7 +76,7 @@ def serve(
     from open_webui.env import UVICORN_WORKERS  # Import the workers setting
 
     uvicorn.run(
-        open_webui.main.app,
+        "open_webui.main:app",
         host=host,
         port=port,
         forwarded_allow_ips="*",