mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-06 00:37:24 +03:00
Add Global Settings into DB initilization step
This commit is contained in:
parent
38c1f3a302
commit
5e7cfbd01f
4 changed files with 31 additions and 3 deletions
|
@ -149,7 +149,7 @@ func GetPublicIP() (model.Interface, error) {
|
|||
consensus.AddVoter(externalip.NewHTTPSource("http://ifconfig.top"), 1)
|
||||
|
||||
publicInterface := model.Interface{}
|
||||
publicInterface.Name = "Public"
|
||||
publicInterface.Name = "Public Address"
|
||||
|
||||
ip, err := consensus.ExternalIP()
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue