Skip to content

Commit

Permalink
Fix: issue while configuring port setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrossi committed May 14, 2021
1 parent b967532 commit 56a6319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"fmt"
"github.com/opentibiabr/login-server/src/api"
"log"
)
Expand All @@ -15,5 +16,5 @@ func main() {
app.Configs.Print()
log.Printf("OTBR Login Server running at port %d!", app.Configs.LoginPort)

app.Run(":80")
app.Run(fmt.Sprintf(":%d", app.Configs.LoginPort))
}

0 comments on commit 56a6319

Please sign in to comment.