Remove test header

This commit is contained in:
Arne Keller 2021-02-11 12:38:03 +01:00
parent 7878b5fc83
commit 970172855e

View File

@ -34,7 +34,6 @@ public class Application extends SpringBootServletInitializer
// https://github.com/vaadin/flow/issues/8942
String url = request.getPathInfo();
if (!url.equals("/") && !ROUTE_PATTERN.matcher(url).matches()) {
response.setHeader("X-ME", "test");
response.setStatus(404);
}
return false;