mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-27 04:07:05 +00:00
🔗 feat: Admin Panel Link in Settings for Admins (#14662)
Expose ADMIN_PANEL_URL through the startup config for users holding the access:admin capability, and render an Admin section in Settings > General with an external link to the admin panel. The URL is omitted server-side for unauthenticated requests and users without admin access.
This commit is contained in:
parent
1367672942
commit
c6bb77325a
11 changed files with 93 additions and 3 deletions
|
|
@ -47,6 +47,7 @@ DOMAIN_CLIENT=http://localhost:3080
|
|||
DOMAIN_SERVER=http://localhost:3080
|
||||
|
||||
# External admin panel base URL used for admin OAuth/SSO redirects.
|
||||
# When set, admins also get an Admin Panel link in Settings > General.
|
||||
# Required when the admin panel is hosted separately from LibreChat.
|
||||
# May include a path. Do not include a trailing slash.
|
||||
# Example: https://admin.example.com/admin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue