mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-21 20:12:33 +03:00
update db.go with USER and PASS ENV variables
This commit is contained in:
parent
a558cce412
commit
dd50da00cd
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ import (
|
|||
)
|
||||
|
||||
const dbPath = "./db"
|
||||
const defaultUsername = "admin"
|
||||
const defaultPassword = "admin"
|
||||
const defaultUsername = os.Getenv("USER")
|
||||
const defaultPassword = os.Getenv("PASSS")
|
||||
const defaultServerAddress = "10.252.1.0/24"
|
||||
const defaultServerPort = 51820
|
||||
const defaultDNS = "1.1.1.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue