mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 设置代理切换时不再需要重启 Fix https://github.com/siyuan-note/siyuan/issues/6680
This commit is contained in:
parent
de529c2edd
commit
eb3098bfe9
9 changed files with 31 additions and 22 deletions
|
|
@ -366,8 +366,8 @@ func setNetworkProxy(c *gin.Context) {
|
|||
}
|
||||
model.Conf.Save()
|
||||
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
time.Sleep(time.Second * 3)
|
||||
proxyURL := model.Conf.System.NetworkProxy.String()
|
||||
util.SetNetworkProxy(proxyURL)
|
||||
}
|
||||
|
||||
func addUIProcess(c *gin.Context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue