mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-03 19:47:14 +08:00
update code
This commit is contained in:
parent
99723edd75
commit
3191ac9ab6
@ -33,15 +33,15 @@ func main() {
|
|||||||
// flag stuff
|
// flag stuff
|
||||||
debug := os.Getenv("debug")
|
debug := os.Getenv("debug")
|
||||||
|
|
||||||
proto := "tcp"
|
proto = "tcp"
|
||||||
addr := "0.0.0.0:8001"
|
addr = "0.0.0.0:8001"
|
||||||
|
|
||||||
|
|
||||||
dbuser := os.Getenv("dbuser")
|
dbuser = os.Getenv("dbuser")
|
||||||
dbpass := os.Getenv("dbpass")
|
dbpass = os.Getenv("dbpass")
|
||||||
dbproto := "tcp"
|
dbproto = "tcp"
|
||||||
dbaddr := os.Getenv("dbaddr")
|
dbaddr = os.Getenv("dbaddr")
|
||||||
dbname := os.Getenv("dbname")
|
dbname = os.Getenv("dbname")
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user