- Removed manifest link from index.html.

- Updated script and module preload links in index.html for optimized loading.
- Modified service worker (sw.js) to reflect new asset revisions and improve caching strategy.
- Updated configuration documentation in BT_RUN.md, docker-RUN.md, and manual_RUN.md to clarify currency rate settings.
This commit is contained in:
line-6000
2026-04-24 19:10:11 +08:00
parent 89be1fc967
commit 485059f60e
182 changed files with 509 additions and 241 deletions
+4 -1
View File
@@ -6,9 +6,12 @@ import (
"github.com/go-resty/resty/v2"
)
// ClientFactory is overridden in tests to stub outbound HTTP calls.
var ClientFactory = resty.New
// GetHttpClient 获取请求客户端
func GetHttpClient(proxys ...string) *resty.Client {
client := resty.New()
client := ClientFactory()
// 如果有代理
if len(proxys) > 0 {
proxy := proxys[0]