update design theme

This commit is contained in:
wjqserver 2025-06-18 10:35:01 +08:00
parent 933aeee518
commit eb3bf16e06

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",
},
}, },
} }
} }