mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w17a
This commit is contained in:
parent
518bbf2600
commit
ac859c39a6
1 changed files with 2 additions and 1 deletions
3
main.go
3
main.go
|
|
@ -32,7 +32,6 @@ var (
|
|||
|
||||
func ReadFlag() {
|
||||
flag.StringVar(&cfgfile, "cfg", configfile, "config file path")
|
||||
fmt.Printf("Config file path: %s\n", cfgfile)
|
||||
}
|
||||
|
||||
func loadConfig() {
|
||||
|
|
@ -72,6 +71,8 @@ func init() {
|
|||
setupLogger(cfg)
|
||||
Loadlist(cfg)
|
||||
|
||||
fmt.Println("Config File Path: ", cfgfile)
|
||||
|
||||
// 设置 Gin 模式
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue