Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ resetToDefaultSource
Function
resetToDefaultSource
apps/desktop/main/update.ts:71–74 ·
view source on GitHub ↗
* 重置为默认更新源(R2 优先)
()
Source
from the content-addressed store, hash-verified
69
* 重置为默认更新源(R2 优先)
70
*/
71
function
resetToDefaultSource(): void {
72
hasTriedFallback = false
73
switchToR2Mirror()
74
}
75
76
/**
77
* 判断错误是否为网络相关错误
Callers
2
checkUpdate
Function · 0.85
manualCheckForUpdates
Function · 0.85
Calls
1
switchToR2Mirror
Function · 0.85
Tested by
no test coverage detected