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)
|
e.GET("/", pages.Index)
|
||||||
|
|
||||||
port := os.Getenv("PORT")
|
port := os.Getenv("PORT")
|
||||||
if port != "" {
|
if port == "" {
|
||||||
port = "5713"
|
port = "5173"
|
||||||
}
|
}
|
||||||
|
|
||||||
e.Logger.Fatal(e.Start(fmt.Sprintf(":%s", port)))
|
e.Logger.Fatal(e.Start(fmt.Sprintf(":%s", port)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue