Don't hardcode server url so this should work on heroku too.