Merge pull request #134 from WJQSERVER-STUDIO/dev
Some checks failed
Build / prepare (push) Has been cancelled
Build / build (amd64, darwin) (push) Has been cancelled
Build / build (amd64, freebsd) (push) Has been cancelled
Build / build (amd64, linux) (push) Has been cancelled
Build / build (arm64, darwin) (push) Has been cancelled
Build / build (arm64, freebsd) (push) Has been cancelled
Build / build (arm64, linux) (push) Has been cancelled
Build / docker (push) Has been cancelled

This commit is contained in:
WJQSERVER 2025-06-18 17:21:17 +08:00 committed by GitHub
commit 402308d620
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 7 deletions

View file

@ -1,6 +1,11 @@
# 更新日志 # 更新日志
4.1.1 - 2025-06-17 4.1.2-rc.0 - 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.0-rc.0 4.1.2-rc.0

View file

@ -1 +1 @@
4.1.1 4.1.2

View file

@ -245,7 +245,7 @@ func DefaultConfig() *Config {
}, },
Pages: PagesConfig{ Pages: PagesConfig{
Mode: "internal", Mode: "internal",
Theme: "bootstrap", Theme: "hub",
StaticDir: "/data/www", StaticDir: "/data/www",
}, },
Log: LogConfig{ Log: LogConfig{
@ -271,8 +271,7 @@ 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{
@ -289,7 +288,11 @@ func DefaultConfig() *Config {
}, },
Docker: DockerConfig{ Docker: DockerConfig{
Enabled: false, Enabled: false,
Target: "ghcr", Target: "dockerhub",
Auth: false,
Credentials: map[string]string{
"testpass": "test123",
},
}, },
} }
} }