mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
fix missing translations in livereload mode
This commit is contained in:
@@ -23,6 +23,7 @@ import java.net.URL;
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@Singleton
|
||||
@Priority(WebResourceServlet.PRIORITY)
|
||||
@WebElement(value = WebResourceServlet.PATTERN, regex = true)
|
||||
public class WebResourceServlet extends HttpServlet {
|
||||
|
||||
@@ -33,7 +34,10 @@ 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/|locales/).*";
|
||||
static final String PATTERN = "/(?!api/|git/|hg/|svn/|hook/|repo/).*";
|
||||
|
||||
// Be sure that this servlet is the last one in the servlet chain.
|
||||
static final int PRIORITY = Integer.MAX_VALUE;
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(WebResourceServlet.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user