diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 20:01:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 20:01:38 +0800 |
commit | ce25881c880d9711f211be05f92a809304a436e3 (patch) | |
tree | 9239c155c8276761de6639fd19b0a56e87eedde5 /internal/cmd/web.go | |
parent | 7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff) |
refactor(db): move some methods off `user.go` (#7199)
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 1689afef..3be1db06 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: conf.UsersAvatarURLPath, + Prefix: conf.UsersAvatarPathPrefix, SkipLogging: conf.Server.DisableRouterLog, }, )) |