mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve upgrade download
This commit is contained in:
parent
f723206423
commit
c6b48882e1
2 changed files with 12 additions and 4 deletions
|
|
@ -18,6 +18,10 @@ package util
|
|||
|
||||
var CurrentCloudRegion = 0
|
||||
|
||||
func IsChinaCloud() bool {
|
||||
return 0 == CurrentCloudRegion
|
||||
}
|
||||
|
||||
func GetCloudServer() string {
|
||||
if 0 == CurrentCloudRegion {
|
||||
return chinaServer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue