added
h2 web allow
This commit is contained in:
parent
897286b0fe
commit
a001ec151f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user