style: 修改 logo 路径 (#1279)

This commit is contained in:
zhengkunwang223 2023-06-07 16:31:25 +08:00 committed by GitHub
parent b7495a63e9
commit c7a3ef7d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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>