There's a problem here. browsers do not send Referrer when on an https site. And they refuse to work without the header
For geeks: could not find "Referrer" header.
For geeks: could not find "Referrer" header.
Apparently the problem is just sending a request https->http. https->https should work fine. Adding SSL asap.
EDIT: now you can also use https://api.formspree.com/your@email.com
Maybe later when you have a real problem, fix it then. Let's cross bridges when we come to the river, that way we'll all have much simpler code!