mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-02 03:48:02 +08:00
style: 修改 logo 路径 (#1279)
This commit is contained in:
parent
b7495a63e9
commit
c7a3ef7d72
@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
func setWebStatic(rootRouter *gin.RouterGroup) {
|
||||
rootRouter.StaticFS("/fav", http.FS(web.Favicon))
|
||||
rootRouter.StaticFS("/public", http.FS(web.Favicon))
|
||||
rootRouter.GET("/assets/*filepath", func(c *gin.Context) {
|
||||
staticServer := http.FileServer(http.FS(web.Assets))
|
||||
staticServer.ServeHTTP(c.Writer, c.Request)
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/fav/favicon.png" />
|
||||
<link rel="icon" href="/public/favicon.png" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||
<title>loading...</title>
|
||||
|
Loading…
Reference in New Issue
Block a user