Pass docroot to badge endpoint.