fix: pass domain to question template

This commit is contained in:
httpjamesm
2023-02-20 13:49:54 -05:00
parent 45644a0503
commit d935ce72f6
2 changed files with 3 additions and 2 deletions

View File

@ -277,6 +277,7 @@ func ViewQuestion(c *gin.Context) {
"theme": c.MustGet("theme").(string),
"currentUrl": fmt.Sprintf("%s/questions/%s/%s", os.Getenv("APP_URL"), questionId, questionTitle),
"sortValue": sortValue,
"domain": domain,
})
}