Update routes to properly work with minification