fix typo in default port
This commit is contained in:
parent
3ea9b2944c
commit
aad41ab47c
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ func main() {
|
|||
e.GET("/", pages.Index)
|
||||
|
||||
port := os.Getenv("PORT")
|
||||
if port != "" {
|
||||
port = "5713"
|
||||
if port == "" {
|
||||
port = "5173"
|
||||
}
|
||||
|
||||
e.Logger.Fatal(e.Start(fmt.Sprintf(":%s", port)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue