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

@ -1,5 +1,7 @@
@import '~antd/dist/antd.less';
@StaticBaseUrl:"https://cdn.casbin.org";
.App {
text-align: center;
}
@ -46,7 +48,7 @@
}
.language_box {
background: url("https://cdn.casbin.org/img/muti_language.svg");
background: url("@{StaticBaseUrl}/img/muti_language.svg");
background-size: 25px, 25px;
background-position: center;
background-repeat: no-repeat;