diff --git a/main.go b/main.go index b484807..d9afcef 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "html/template" "log" "net/http" @@ -62,5 +63,5 @@ func main() { http.StripPrefix("/static", http.FileServer(http.Dir("./static"))).ServeHTTP(w, r) }) - log.Fatal("Handler: ", http.ListenAndServe(config.ServerWeb.Port, router)) + log.Fatal("Handler: ", http.ListenAndServe(fmt.Sprintf(":%d", config.ServerWeb.Port), router)) }