mirror of https://gitee.com/answerdev/answer.git
update IsQuestionsIgnorePath
This commit is contained in:
parent
935bcf21ff
commit
03eae354f7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue