From a4747c88e05a51fbc2167a2832dbcd5a5a733f72 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 4 Mar 2025 00:33:19 -0800 Subject: [PATCH] refac --- backend/open_webui/utils/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/open_webui/utils/auth.py b/backend/open_webui/utils/auth.py index 9d5e3db0e..daf85b97c 100644 --- a/backend/open_webui/utils/auth.py +++ b/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, )