add option to accept a base route for assets