change referrence from brandon.ad to bangmail.org
Some checks failed
Build bang-server / Explore-Gitea-Actions (push) Failing after 10s
Some checks failed
Build bang-server / Explore-Gitea-Actions (push) Failing after 10s
This commit is contained in:
2
bang.go
2
bang.go
@@ -181,7 +181,7 @@ func receiveEmailHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
email.ID = fmt.Sprintf("%d", time.Now().UnixNano())
|
email.ID = fmt.Sprintf("%d", time.Now().UnixNano())
|
||||||
email.Timestamp = time.Now()
|
email.Timestamp = time.Now()
|
||||||
if email.Domain == "brandon.ad" {
|
if email.Domain == "bangmail.org" {
|
||||||
if err := saveEmail(email); err != nil {
|
if err := saveEmail(email); err != nil {
|
||||||
http.Error(w, "Failed to save email", http.StatusInternalServerError)
|
http.Error(w, "Failed to save email", http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user