Adjust for compatibility with Heroku URL