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.
update IsQuestionsIgnorePath
aichy12603eae354f75e
diff --git a/internal/controller/template_controller.go b/internal/controller/template_controller.goindex 589be128..e9048ae3 100644--- a/internal/controller/template_controller.go+++ b/internal/controller/template_controller.go@@ -230,8 +230,8 @@ func (tc *TemplateController) QuestionInfo(ctx *gin.Context) {id := ctx.Param("id")title := ctx.Param("title")answerid := ctx.Param("answerid")-- if id == "ask" {+ if checker.IsQuestionsIgnorePath(id) {+ // if id == "ask" {file, err := ui.Build.ReadFile("build/index.html")if err != nil {log.Error(err)