mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
39ea59edc8
commit
a4747c88e0
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue