mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 支持关闭 Google Analytics https://github.com/siyuan-note/siyuan/issues/6403
This commit is contained in:
parent
710e703867
commit
0211e15fc9
3 changed files with 5 additions and 5 deletions
|
|
@ -312,7 +312,7 @@ func setGoogleAnalytics(c *gin.Context) {
|
|||
}
|
||||
|
||||
googleAnalytics := arg["googleAnalytics"].(bool)
|
||||
model.Conf.System.GoogleAnalytics = googleAnalytics
|
||||
model.Conf.System.DisableGoogleAnalytics = googleAnalytics
|
||||
model.Conf.Save()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue