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:
ser3n1ty 2024-05-08 19:15:16 -07:00 committed by GitHub
parent 4971ad9d42
commit 2313cc2406
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")