Merge pull request #134 from WJQSERVER-STUDIO/dev

This commit is contained in:
WJQSERVER
2025-06-18 17:21:17 +08:00
committed by GitHub
4 changed files with 15 additions and 7 deletions
+6 -1
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的一些状态问题
+1 -1
View File
@@ -1 +1 @@
4.1.0-rc.0
4.1.2-rc.0
+1 -1
View File
@@ -1 +1 @@
4.1.1
4.1.2
+7 -4
View File
@@ -245,7 +245,7 @@ func DefaultConfig() *Config {
},
Pages: PagesConfig{
Mode: "internal",
Theme: "bootstrap",
Theme: "hub",
StaticDir: "/data/www",
},
Log: LogConfig{
@@ -271,8 +271,7 @@ func DefaultConfig() *Config {
WhitelistFile: "/data/ghproxy/config/whitelist.json",
},
RateLimit: RateLimitConfig{
Enabled: false,
//RateMethod: "total",
Enabled: false,
RatePerMinute: 100,
Burst: 10,
BandwidthLimit: BandwidthLimitConfig{
@@ -289,7 +288,11 @@ func DefaultConfig() *Config {
},
Docker: DockerConfig{
Enabled: false,
Target: "ghcr",
Target: "dockerhub",
Auth: false,
Credentials: map[string]string{
"testpass": "test123",
},
},
}
}