add i18n Servlet

This commit is contained in:
Mohamed Karray
2018-10-19 11:15:37 +02:00
parent e04ced8e53
commit 9dc32fe128
8 changed files with 182 additions and 1 deletions

View File

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