fix: Change port number of server (because Linux prohibits listening on 80 port for non-root users)

This commit is contained in:
ChronosX88 2019-07-19 11:45:11 +04:00
parent a92219372e
commit 3b5bc7a77b
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -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{