diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 14:41:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 14:41:40 +0800 |
commit | c502dc6ed888a4cf2c8b36176585f4166536ab6d (patch) | |
tree | 71e3f758069dc2435eecb88ae786b2efaaa972f9 /internal/cmd/web.go | |
parent | 260e990be75885e1a560df449dacdeecafeffdcf (diff) |
refactor(db): move some methods from `user.go` to `users.go` (#7195)
Diffstat (limited to 'internal/cmd/web.go')
-rw-r--r-- | internal/cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/web.go b/internal/cmd/web.go index 42e4e065..1689afef 100644 --- a/internal/cmd/web.go +++ b/internal/cmd/web.go @@ -99,7 +99,7 @@ func newMacaron() *macaron.Macaron { conf.Picture.AvatarUploadPath, macaron.StaticOptions{ ETag: true, - Prefix: db.USER_AVATAR_URL_PREFIX, + Prefix: conf.UsersAvatarURLPath, SkipLogging: conf.Server.DisableRouterLog, }, )) |