Add trailing slash to urls in dev and production