Merge branch 'ai_work' into 'main'

add manifest.json

See merge request opensource/answer!82
This commit is contained in:
linkinstar 2022-10-19 06:41:11 +00:00
commit 24373d20cd
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