From a001ec151f7eaba9c9d579c98abf5eb1908ca715 Mon Sep 17 00:00:00 2001 From: snoop Date: Tue, 15 Nov 2016 12:55:49 +0900 Subject: [PATCH] added h2 web allow --- src/main/java/com/loafle/bridge/Application.java | 1 + 1 file changed, 1 insertion(+) 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; }