This commit is contained in:
René Pfeuffer
2018-08-31 10:45:22 +02:00
3 changed files with 4 additions and 6 deletions

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);