diff --git a/src/main/java/com/loafle/bridge/Application.java b/src/main/java/com/loafle/bridge/Application.java index 6f75650..306d20c 100644 --- a/src/main/java/com/loafle/bridge/Application.java +++ b/src/main/java/com/loafle/bridge/Application.java @@ -28,6 +28,7 @@ public class Application { public ServletRegistrationBean h2servletRegistration() { ServletRegistrationBean registration = new ServletRegistrationBean(new WebServlet()); registration.addUrlMappings("/console/*"); + registration.addInitParameter("webAllowOthers", "true"); return registration; }