remove unused codes and add site'url configuration on admin
This commit is contained in:
1 parent
a007b89ebb
commit
a07bb25128
21 files changed
+117
-1047
No files matched your search
@@ -110,7 +110,7 @@ func (this *UserService) setUserLogo(user *info.User) {
|
||||
}
|
||||
if user.Logo != "" && !strings.HasPrefix(user.Logo, "http") {
|
||||
user.Logo = strings.Trim(user.Logo, "/")
|
||||
user.Logo = configService.GetSiteUrl() + "/" + user.Logo
|
||||
user.Logo = "/" + user.Logo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user