fix mercurial hook integration tests

This commit is contained in:
Sebastian Sdorra
2018-08-30 13:12:33 +02:00
parent 47b97cd527
commit d4ed3b72d3

View File

@@ -30,10 +30,10 @@ public class WebResourceServlet extends HttpServlet {
/**
* exclude api requests and the old frontend servlets.
*
* TODO remove old protocol servlets
* TODO remove old protocol servlets and hook. Move /hook/hg to api?
*/
@VisibleForTesting
static final String PATTERN = "/(?!api/|git/|hg/|svn/|debug/).*";
static final String PATTERN = "/(?!api/|git/|hg/|svn/|hook/).*";
private static final Logger LOG = LoggerFactory.getLogger(WebResourceServlet.class);