diff --git a/main.go b/main.go index 2e64c8b..8ab0f85 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "path/filepath" "time" "context" - + "github.com/gorilla/mux" "go.mau.fi/whatsmeow" waProto "go.mau.fi/whatsmeow/binary/proto" @@ -36,12 +36,12 @@ func main() { // Configuration du serveur srv := &http.Server{ Handler: r, - Addr: "0.0.0.0:8080", + Addr: "0.0.0.0:3002", WriteTimeout: 15 * time.Second, ReadTimeout: 15 * time.Second, } - log.Println("Serveur démarré sur http://localhost:8080") + log.Println("Serveur démarré sur http://localhost:3002") log.Fatal(srv.ListenAndServe()) }