mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Update rogueserver.go
I added a comment to the debug mode, as well as a default port for the API server (8001)
This commit is contained in:
parent
4971ad9d42
commit
2313cc2406
@ -31,10 +31,10 @@ import (
|
||||
|
||||
func main() {
|
||||
// flag stuff
|
||||
debug := flag.Bool("debug", false, "use debug mode")
|
||||
debug := flag.Bool("debug", false, "use debug mode") //If you are getting CORS issues, set this to true
|
||||
|
||||
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