Make H2 console URL consistent across sample projects
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.web.WebApplicationInitializer;
|
||||
public class H2ConsoleInitializer implements WebApplicationInitializer {
|
||||
|
||||
public void onStartup(ServletContext servletContext) throws ServletException {
|
||||
servletContext.addServlet("h2console", new WebServlet()).addMapping("/console/*");
|
||||
servletContext.addServlet("h2Console", new WebServlet()).addMapping("/h2-console/*");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user