mirror of
https://github.com/Dvorinka/SendMail.git
synced 2026-07-29 10:03:48 +00:00
refactor(main): remove embedded HTML and JS snippets from main.go
This commit is contained in:
@@ -204,6 +204,7 @@ var domainMap = map[string]EmailConfig{
|
|||||||
"sportcreative.eu": {"[email protected]", "@dN$TZPgG5!", "smtp.purelymail.com", 465},
|
"sportcreative.eu": {"[email protected]", "@dN$TZPgG5!", "smtp.purelymail.com", 465},
|
||||||
"reklik.net": {"[email protected]", "FK8eAwJbSkP2%H", "smtp.purelymail.com", 465},
|
"reklik.net": {"[email protected]", "FK8eAwJbSkP2%H", "smtp.purelymail.com", 465},
|
||||||
"zeusport.eu": {"[email protected]", "r-:#sSQ?9D%C4t8", "smtp.forpsi.com", 465},
|
"zeusport.eu": {"[email protected]", "r-:#sSQ?9D%C4t8", "smtp.forpsi.com", 465},
|
||||||
|
"bookra.eu": {"[email protected]", "n2$6cwSwqff$J58", "smtp.purelymail.com", 465},
|
||||||
}
|
}
|
||||||
|
|
||||||
func sendHandler(w http.ResponseWriter, r *http.Request) {
|
func sendHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
@@ -355,5 +356,5 @@ func main() {
|
|||||||
http.HandleFunc("/send", enableCors(sendHandler))
|
http.HandleFunc("/send", enableCors(sendHandler))
|
||||||
http.HandleFunc("/send-params", enableCors(sendParamsHandler))
|
http.HandleFunc("/send-params", enableCors(sendParamsHandler))
|
||||||
log.Println("Server running on :660")
|
log.Println("Server running on :660")
|
||||||
log.Fatal(http.ListenAndServe(":660", nil))
|
log.Fatal(http.ListenAndServe("0.0.0.0:660", nil))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user