mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🎨 支持关闭 Google Analytics https://github.com/siyuan-note/siyuan/issues/6403
This commit is contained in:
parent
f3a9e74df2
commit
a198e50594
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ func setGoogleAnalytics(c *gin.Context) {
|
|||
}
|
||||
|
||||
googleAnalytics := arg["googleAnalytics"].(bool)
|
||||
model.Conf.System.DisableGoogleAnalytics = googleAnalytics
|
||||
model.Conf.System.DisableGoogleAnalytics = !googleAnalytics
|
||||
model.Conf.Save()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue