update IsQuestionsIgnorePath

This commit is contained in:
aichy126 2023-05-29 15:15:06 +08:00
parent 935bcf21ff
commit 03eae354f7
1 changed files with 2 additions and 2 deletions

View File

@ -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)