This commit is contained in:
TaiAurori 2022-06-25 19:58:05 -04:00
parent 82c228e306
commit 06eca57ad8
1 changed files with 2 additions and 2 deletions

View File

@ -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]
}