From 3b5bc7a77b828cd7ecde37f4145dd43391b34a17 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Fri, 19 Jul 2019 11:45:11 +0400 Subject: [PATCH] fix: Change port number of server (because Linux prohibits listening on 80 port for non-root users) --- internal/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server.go b/internal/server.go index cb736de..f729f69 100644 --- a/internal/server.go +++ b/internal/server.go @@ -26,7 +26,7 @@ func New() *Server { router.HandleFunc("/", RootHandler) httpServer := new(http.Server) - httpServer.Addr = ":80" + httpServer.Addr = ":8008" httpServer.Handler = router server := &Server{