mirror of
https://github.com/Dvorinka/SendMail.git
synced 2026-07-29 10:03:48 +00:00
Update main.go
This commit is contained in:
@@ -91,6 +91,6 @@ func enableCors(handler http.HandlerFunc) http.HandlerFunc {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
http.HandleFunc("/send", enableCors(sendHandler))
|
http.HandleFunc("/send", enableCors(sendHandler))
|
||||||
log.Println("Server running on :8080")
|
log.Println("Server running on :660")
|
||||||
log.Fatal(http.ListenAndServe(":8080", nil))
|
log.Fatal(http.ListenAndServe(":660", nil))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user