started working on templates and api
This commit is contained in:
@@ -35,7 +35,7 @@ public class Application {
|
||||
SessionHandler sh = new SessionHandler();
|
||||
server.setConnectors(new Connector[]{connector});
|
||||
ServletContextHandler context = new ServletContextHandler(server, "/",sh,null,null,null);
|
||||
context.addServlet(Rest.class,"/api");
|
||||
context.addServlet(Rest.class,"/api/*");
|
||||
context.addServlet(Web.class,"/web/*");
|
||||
|
||||
server.start();
|
||||
|
||||
Reference in New Issue
Block a user