add manifest.json

This commit is contained in:
aichy126 2022-10-19 14:35:21 +08:00
parent 0d9a031ce3
commit 1f0af79e17
1 changed files with 1 additions and 3 deletions

View File

@ -76,9 +76,7 @@ func (a *UIRouter) Register(r *gin.Engine) {
case "/favicon.ico":
c.Header("content-type", "image/vnd.microsoft.icon")
filePath = UIRootFilePath + name
case "/logo192.png":
filePath = UIRootFilePath + name
case "/logo512.png":
case "/manifest.json":
filePath = UIRootFilePath + name
default:
filePath = UIIndexFilePath