mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console: use PureJSON for documentation
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user