diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index d7e3e5973..039602654 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -650,6 +650,16 @@ if CUSTOM_NAME: pass +#################################### +# LICENSE_KEY +#################################### + +LICENSE_KEY = PersistentConfig( + "LICENSE_KEY", + "license.key", + os.environ.get("LICENSE_KEY", ""), +) + #################################### # STORAGE PROVIDER #################################### diff --git a/src/lib/components/admin/Settings/General.svelte b/src/lib/components/admin/Settings/General.svelte index 7df2678eb..635ae3488 100644 --- a/src/lib/components/admin/Settings/General.svelte +++ b/src/lib/components/admin/Settings/General.svelte @@ -167,14 +167,14 @@ -