🚸 Change default port to 8080

This commit is contained in:
Dan Jones 2023-11-29 16:16:51 -06:00
commit f4357ce5ee

View file

@ -72,7 +72,7 @@ func GetRouter() *httprouter.Router {
func GetPort() string {
port := os.Getenv("PORT")
if port == "" {
port = ":80"
port = ":8080"
}
if !strings.HasPrefix(port, ":") {
port = ":" + port