forked from TripwireTeam/tripwire
oops
This commit is contained in:
parent
82c228e306
commit
06eca57ad8
1 changed files with 2 additions and 2 deletions
4
main.go
4
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]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue