Timothy Jaeryang Baek 1 月之前
父节点
当前提交
a4747c88e0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      backend/open_webui/utils/auth.py

+ 1 - 2
backend/open_webui/utils/auth.py

@@ -71,9 +71,8 @@ def override_static(path: str, content: str):
 def get_license_data(app, key):
     if key:
         try:
-            # https://api.openwebui.com
             res = requests.post(
-                "http://localhost:5555/api/v1/license",
+                "https://api.openwebui.com/api/v1/license",
                 json={"key": key, "version": "1"},
                 timeout=5,
             )