From aad41ab47cc969b03e6c0f63b375972a566d3864 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Sun, 25 Feb 2024 02:11:15 -0500 Subject: [PATCH] fix typo in default port --- cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index e4247af..cc2aa88 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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)))