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 install api
aichy1261556d815cfbb
diff --git a/internal/router/ui.go b/internal/router/ui.goindex 655d03a0..d74fbe6c 100644--- a/internal/router/ui.go+++ b/internal/router/ui.go@@ -7,9 +7,8 @@ import ("net/http""os"-- "github.com/answerdev/answer/internal/base/handler""github.com/answerdev/answer/i18n"+ "github.com/answerdev/answer/internal/base/handler""github.com/answerdev/answer/ui""github.com/gin-gonic/gin""github.com/segmentfault/pacman/log"@@ -119,6 +118,10 @@ func (a *UIRouter) Register(r *gin.Engine) {handler.HandleResponse(c, nil, gin.H{})})+ r.PUT("/install/siteconfig", func(c *gin.Context) {+ handler.HandleResponse(c, nil, gin.H{})+ })+// specify the not router for default routes and redirectr.NoRoute(func(c *gin.Context) {name := c.Request.URL.Path