Fixing Port issue

This commit is contained in:
Moritz 2019-01-31 19:17:59 +01:00
parent c0e8b1b8e1
commit d7d3732fab

View file

@ -62,5 +62,5 @@ func main() {
http.StripPrefix("/static", http.FileServer(http.Dir("./static"))).ServeHTTP(w, r) http.StripPrefix("/static", http.FileServer(http.Dir("./static"))).ServeHTTP(w, r)
}) })
log.Fatal("Handler: ", http.ListenAndServe(":8080", router)) log.Fatal("Handler: ", http.ListenAndServe(config.ServerWeb.Port, router))
} }