mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
Use static resources.
This commit is contained in:
parent
56b2c91217
commit
00ba783fc4
@ -96,6 +96,10 @@ func GetUser(id string) *User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetMaskedUser(user *User) *User {
|
func GetMaskedUser(user *User) *User {
|
||||||
|
if user == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if user.Password != "" {
|
if user.Password != "" {
|
||||||
user.Password = "***"
|
user.Password = "***"
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
@ -9,12 +9,12 @@
|
|||||||
name="description"
|
name="description"
|
||||||
content="Web site created using create-react-app"
|
content="Web site created using create-react-app"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png" />
|
<link rel="apple-touch-icon" href="https://cdn.casbin.org/site/casdoor/favicon.png" />
|
||||||
<!--
|
<!--
|
||||||
manifest.json provides metadata used when your web app is installed on a
|
manifest.json provides metadata used when your web app is installed on a
|
||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
-->
|
-->
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="https://cdn.casbin.org/site/casdoor/manifest.json" />
|
||||||
<!--
|
<!--
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"short_name": "Casdoor",
|
|
||||||
"name": "Casdoor Authentication",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "favicon.png",
|
|
||||||
"sizes": "64x64 32x32 24x24 16x16",
|
|
||||||
"type": "image/x-icon"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"start_url": ".",
|
|
||||||
"display": "standalone",
|
|
||||||
"theme_color": "#000000",
|
|
||||||
"background_color": "#ffffff"
|
|
||||||
}
|
|
@ -13,7 +13,7 @@ code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
background: url("logo.png");
|
background: url("https://cdn.casbin.org/img/logo_384x96.png");
|
||||||
background-size: 108px, 33px;
|
background-size: 108px, 33px;
|
||||||
width: 108px;
|
width: 108px;
|
||||||
height: 27px;
|
height: 27px;
|
||||||
|
BIN
web/src/logo.png
BIN
web/src/logo.png
Binary file not shown.
Before Width: | Height: | Size: 34 KiB |
Loading…
x
Reference in New Issue
Block a user