DOMAIN in defined in .env and so ENV not a global
Merge pull request #42 from albertsun/master

Was getting a 500 on user location agent