change referrence from brandon.ad to bangmail.org
Some checks failed
Build bang-server / Explore-Gitea-Actions (push) Failing after 10s

This commit is contained in:
Brandon4466
2025-06-08 06:04:42 -07:00
parent d73523b9e1
commit 1a5b4f70a7

View File

@@ -181,7 +181,7 @@ func receiveEmailHandler(w http.ResponseWriter, r *http.Request) {
}
email.ID = fmt.Sprintf("%d", time.Now().UnixNano())
email.Timestamp = time.Now()
if email.Domain == "brandon.ad" {
if email.Domain == "bangmail.org" {
if err := saveEmail(email); err != nil {
http.Error(w, "Failed to save email", http.StatusInternalServerError)
return