mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
merge customTarget into target
This commit is contained in:
parent
052243b095
commit
7d4aae1668
3 changed files with 13 additions and 16 deletions
|
|
@ -174,12 +174,10 @@ type OutboundConfig struct {
|
|||
[docker]
|
||||
enabled = false
|
||||
target = "ghcr" # ghcr/dockerhub
|
||||
customTarget = "" # 自定义host(不带协议头)
|
||||
*/
|
||||
type DockerConfig struct {
|
||||
Enabled bool `toml:"enabled"`
|
||||
Target string `toml:"target"`
|
||||
CustomTarget string `toml:"customTarget"`
|
||||
Enabled bool `toml:"enabled"`
|
||||
Target string `toml:"target"`
|
||||
}
|
||||
|
||||
// LoadConfig 从 TOML 配置文件加载配置
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue