EEE
This commit is contained in:
parent
6c8d22bdec
commit
cb6a5bbf33
6
main.go
6
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())
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user