mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
add tokenSource support for auth configuration (#4865)
This commit is contained in:
@@ -70,7 +70,10 @@ var rootCmd = &cobra.Command{
|
||||
"please use yaml/json/toml format instead!\n")
|
||||
}
|
||||
} else {
|
||||
serverCfg.Complete()
|
||||
if err := serverCfg.Complete(); err != nil {
|
||||
fmt.Printf("failed to complete server config: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
svrCfg = &serverCfg
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user