Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

add manifest.json

aichy1261f0af79e17bc
diff --git a/internal/router/ui.go b/internal/router/ui.go
index 49042712..44ca1d6a 100644
--- a/internal/router/ui.go
+++ b/internal/router/ui.go
@@ -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