mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-09 20:21:03 +00:00
fix: Change port number of server (because Linux prohibits listening on 80 port for non-root users)
This commit is contained in:
parent
a92219372e
commit
3b5bc7a77b
@ -26,7 +26,7 @@ func New() *Server {
|
|||||||
router.HandleFunc("/", RootHandler)
|
router.HandleFunc("/", RootHandler)
|
||||||
|
|
||||||
httpServer := new(http.Server)
|
httpServer := new(http.Server)
|
||||||
httpServer.Addr = ":80"
|
httpServer.Addr = ":8008"
|
||||||
httpServer.Handler = router
|
httpServer.Handler = router
|
||||||
|
|
||||||
server := &Server{
|
server := &Server{
|
||||||
|
Loading…
Reference in New Issue
Block a user