Made it so having a slash at the end of the url doesn't break the url.