设置代理切换时不再需要重启 https://github.com/siyuan-note/siyuan/issues/6787
This commit is contained in:
Liang Ding 2022-12-06 00:37:46 +08:00
parent 34c7fd5171
commit 7a3755daa1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 10 additions and 0 deletions

View file

@ -54,6 +54,7 @@ func Boot() {
IncBootProgress(3, "Booting...")
rand.Seed(time.Now().UTC().UnixNano())
initMime()
initHttpClient()
workspacePath := flag.String("workspace", "", "dir path of the workspace, default to ~/Documents/SiYuan/")
wdPath := flag.String("wd", WorkingDir, "working directory of SiYuan")