mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Added port to default address so that the default arguments work if none are provided.
This commit is contained in:
parent
4971ad9d42
commit
c0bf433e85
@ -34,7 +34,7 @@ func main() {
|
||||
debug := flag.Bool("debug", false, "use debug mode")
|
||||
|
||||
proto := flag.String("proto", "tcp", "protocol for api to use (tcp, unix)")
|
||||
addr := flag.String("addr", "0.0.0.0", "network address for api to listen on")
|
||||
addr := flag.String("addr", "0.0.0.0:8001", "network address for api to listen on")
|
||||
|
||||
dbuser := flag.String("dbuser", "pokerogue", "database username")
|
||||
dbpass := flag.String("dbpass", "", "database password")
|
||||
|
Loading…
x
Reference in New Issue
Block a user