mirror of
https://github.com/Dvorinka/SendMail.git
synced 2026-10-28 07:41:21 +00:00
Update main.go
This commit is contained in:
1 parent
d9e2b521d0
commit
1959ec1a66
1 file changed
+2
-2
@@ -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