console: use PureJSON for documentation

This commit is contained in:
Vincent Bernat
2022-05-30 10:51:33 +02:00
parent 0130e0924f
commit 0ad6eacac8
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ func (c *Component) docsHandlerFunc(gc *gin.Context) {
return
}
gc.Header("Cache-Control", "max-age=300")
gc.IndentedJSON(http.StatusOK, gin.H{
gc.PureJSON(http.StatusOK, gin.H{
"markdown": buf.String(),
"toc": toc,
})