Compare commits

..

No commits in common. "402308d620bc21f49b886a2bebb317994e4d04a5" and "b701a89b985c636a98535b2f5b4fd1deb190d281" have entirely different histories.

4 changed files with 7 additions and 15 deletions

View file

@ -1,11 +1,6 @@
# 更新日志 # 更新日志
4.1.2-rc.0 - 2025-06-17 4.1.1 - 2025-06-17
---
- PRE-RELEASE: 此版本是v4.1.2预发布版本,请勿在生产环境中使用;
- CHANGE: 更新`design`主题, 更新默认配置生成
4.1.1 - 2025-06-18
--- ---
- CHANGE: 更新touka框架到v0.2.6, 解决MidwareX的一些状态问题 - CHANGE: 更新touka框架到v0.2.6, 解决MidwareX的一些状态问题

View file

@ -1 +1 @@
4.1.2-rc.0 4.1.0-rc.0

View file

@ -1 +1 @@
4.1.2 4.1.1

View file

@ -245,7 +245,7 @@ func DefaultConfig() *Config {
}, },
Pages: PagesConfig{ Pages: PagesConfig{
Mode: "internal", Mode: "internal",
Theme: "hub", Theme: "bootstrap",
StaticDir: "/data/www", StaticDir: "/data/www",
}, },
Log: LogConfig{ Log: LogConfig{
@ -271,7 +271,8 @@ func DefaultConfig() *Config {
WhitelistFile: "/data/ghproxy/config/whitelist.json", WhitelistFile: "/data/ghproxy/config/whitelist.json",
}, },
RateLimit: RateLimitConfig{ RateLimit: RateLimitConfig{
Enabled: false, Enabled: false,
//RateMethod: "total",
RatePerMinute: 100, RatePerMinute: 100,
Burst: 10, Burst: 10,
BandwidthLimit: BandwidthLimitConfig{ BandwidthLimit: BandwidthLimitConfig{
@ -288,11 +289,7 @@ func DefaultConfig() *Config {
}, },
Docker: DockerConfig{ Docker: DockerConfig{
Enabled: false, Enabled: false,
Target: "dockerhub", Target: "ghcr",
Auth: false,
Credentials: map[string]string{
"testpass": "test123",
},
}, },
} }
} }