diff --git a/main.go b/main.go index ba70178..58ca94c 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( func ListenToRequests(port string) error{ mux := http.NewServeMux() server := &http.Server{ + Handler: mux, Addr: port, ReadTimeout: time.Second * 5, WriteTimeout: time.Second * 5,