mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 History Retention Days supports a maximum setting of 3650 https://github.com/siyuan-note/siyuan/issues/15979
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
9e78abbb4b
commit
c3da02f657
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ func setEditor(c *gin.Context) {
|
|||
}
|
||||
|
||||
if 1 > editor.HistoryRetentionDays {
|
||||
editor.HistoryRetentionDays = 1
|
||||
editor.HistoryRetentionDays = 30
|
||||
}
|
||||
if 3650 < editor.HistoryRetentionDays {
|
||||
editor.HistoryRetentionDays = 3650
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue