mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
feat(backend): enhance GetStat function to include admin URL in response for improved admin access
This commit is contained in:
@@ -88,8 +88,9 @@ func GetStat(c echo.Context) error {
|
||||
"file_size": maxStorageSize,
|
||||
},
|
||||
"admin": map[string]any{
|
||||
"user_name": utils.GetEnv("ADMIN_NAME"),
|
||||
"email": utils.GetEnv("ADMIN_EMAIL"),
|
||||
"name": utils.GetEnv("ADMIN_NAME"),
|
||||
"email": utils.GetEnv("ADMIN_EMAIL"),
|
||||
"url": utils.GetEnv("ADMIN_URL"),
|
||||
},
|
||||
"chart": map[string]any{
|
||||
"storage": storageChartData,
|
||||
|
||||
Reference in New Issue
Block a user