mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +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 {
|
||||
if user == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
if user.Password != "" {
|
||||
user.Password = "***"
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
@ -9,12 +9,12 @@
|
||||
name="description"
|
||||
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
|
||||
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.
|
||||
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 {
|
||||
background: url("logo.png");
|
||||
background: url("https://cdn.casbin.org/img/logo_384x96.png");
|
||||
background-size: 108px, 33px;
|
||||
width: 108px;
|
||||
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