From 2313cc2406905ec0f0cd22f647d7d7bcee93d4cd Mon Sep 17 00:00:00 2001 From: ser3n1ty <36878537+cgnetsec@users.noreply.github.com> Date: Wed, 8 May 2024 19:15:16 -0700 Subject: [PATCH] Update rogueserver.go I added a comment to the debug mode, as well as a default port for the API server (8001) --- rogueserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rogueserver.go b/rogueserver.go index f86185f..c7d8d0c 100644 --- a/rogueserver.go +++ b/rogueserver.go @@ -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")