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 index.html Header
aichy12610dd9e23f41b
diff --git a/internal/router/ui.go b/internal/router/ui.goindex 2654a37e..86740dbc 100644--- a/internal/router/ui.go+++ b/internal/router/ui.go@@ -106,6 +106,7 @@ func (a *UIRouter) Register(r *gin.Engine) {default:filePath = UIIndexFilePathc.Header("content-type", "text/html;charset=utf-8")+ c.Header("X-Frame-Options", "DENY")}file, err := ui.Build.ReadFile(filePath)if err != nil {