This commit is contained in:
Illya Marchenko 2024-04-05 16:51:49 +03:00
parent ff55e9e3a7
commit e410e9876c
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

@ -23,7 +23,7 @@ func main() {
// load .env
err := godotenv.Load(".env")
if err != nil {
log.Fatalf("Error loading .env file")
log.Fatalf("error loading .env file")
}
// test config read
@ -60,7 +60,7 @@ func main() {
http.HandleFunc("/webhook", handleWebhook)
// listen server
fmt.Println("Webhook server listening on " + os.Getenv("LISTEN"))
fmt.Println("webhook server listening on " + os.Getenv("LISTEN"))
err = http.ListenAndServe(os.Getenv("LISTEN"), nil)
if err != nil {
log.Fatalf(err.Error())