mirror of
https://github.com/open-webui/open-webui.git
synced 2025-03-17 21:32:42 +01:00
refac
This commit is contained in:
parent
39ea59edc8
commit
a4747c88e0
@ -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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user