mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🎨 Enable or disable all CSS and JS code snippets https://github.com/siyuan-note/siyuan/issues/9860
This commit is contained in:
parent
5bf45bfde2
commit
81780c81c8
3 changed files with 18 additions and 1 deletions
|
@ -37,7 +37,7 @@ func serveSnippets(c *gin.Context) {
|
|||
name := strings.TrimSuffix(filePath, ext)
|
||||
confSnippets, err := model.LoadSnippets()
|
||||
if nil != err {
|
||||
logging.LogErrorf("load snippets failed: %s", name, err)
|
||||
logging.LogErrorf("load snippets failed: %s", err)
|
||||
c.Status(404)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue