mirror of https://github.com/Xhofe/alist
![]() name in APIs (fix/settings-get-role) - Simplify initial settings to use `model.GUEST` as the default role ID instead of querying roles at startup. - Update `GetSetting`, `ListSettings` handlers to: - Convert stored role ID into the corresponding role name when returning data. - Preserve dynamic role options for selection. - Remove unused `strings` import and role preloading logic from `InitialSettings`. - Avoid DB dependency during initialization while keeping consistent role display for frontend clients. |
||
---|---|---|
.. | ||
common | ||
ftp | ||
handles | ||
middlewares | ||
s3 | ||
sftp | ||
static | ||
webdav | ||
debug.go | ||
ftp.go | ||
router.go | ||
s3.go | ||
sftp.go | ||
webdav.go |