feat: use staticBaseUrl for all static resources (#1015)

* feat: modify system image link

* Update App.less

Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
leoshine
2022-08-15 09:18:21 +08:00
committed by GitHub
parent ca13247572
commit ba732b3075
8 changed files with 19 additions and 12 deletions

View File

@ -30,11 +30,11 @@ class OrganizationListPage extends BaseListPage {
createdTime: moment().format(),
displayName: `New Organization - ${randomName}`,
websiteUrl: "https://door.casdoor.com",
favicon: "https://cdn.casdoor.com/static/favicon.png",
favicon: `${Setting.StaticBaseUrl}/img/favicon.png`,
passwordType: "plain",
PasswordSalt: "",
phonePrefix: "86",
defaultAvatar: "https://casbin.org/img/casbin.svg",
defaultAvatar: `${Setting.StaticBaseUrl}/img/casbin.svg`,
tags: [],
masterPassword: "",
enableSoftDeletion: false,