From 06eca57ad8518cc51e88169934a8fe74116b3e8c Mon Sep 17 00:00:00 2001 From: TaiAurori <31465218+TaiAurori@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:58:05 -0400 Subject: [PATCH] oops --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index c756e32..48078b5 100644 --- a/main.go +++ b/main.go @@ -45,8 +45,8 @@ func handleRequests() { registerWebEndpoints(r) splitUrl := strings.Split(config.BaseUrl, ":") - port := "80" - if len(port) > 1 { + port := "8080" + if len(splitUrl) > 1 { port = splitUrl[1] }