mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
некоторые изменения для apikey
This commit is contained in:
commit
dd0ccdc542
1 changed files with 6 additions and 0 deletions
6
main.go
6
main.go
|
|
@ -145,6 +145,11 @@ func showSetting(show bool) {
|
|||
fmt.Println("get webBasePath failed, error info:", err)
|
||||
}
|
||||
|
||||
apikey, err :=settingService.GetAPIKey()
|
||||
if err != nil {
|
||||
fmt.Println("get apikey failed, error info:", err)
|
||||
}
|
||||
|
||||
certFile, err := settingService.GetCertFile()
|
||||
if err != nil {
|
||||
fmt.Println("get cert file failed, error info:", err)
|
||||
|
|
@ -178,6 +183,7 @@ func showSetting(show bool) {
|
|||
fmt.Println("hasDefaultCredential:", hasDefaultCredential)
|
||||
fmt.Println("port:", port)
|
||||
fmt.Println("webBasePath:", webBasePath)
|
||||
fmt.Println("apikey:", apikey)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue