From f43d9c0aeafaf61b82aff7d65befa8ed730206d4 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Mon, 1 Aug 2016 23:26:45 -0400 Subject: [PATCH] nitweb: init session Signed-off-by: Alexandre Terrasa --- src/nitweb.nit | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nitweb.nit b/src/nitweb.nit index 9376172..a953fcb 100644 --- a/src/nitweb.nit +++ b/src/nitweb.nit @@ -88,6 +88,7 @@ private class NitwebPhase var app = new App + app.use_before("/*", new SessionInit) app.use_before("/*", new RequestClock) app.use("/api", new NitwebAPIRouter(config, catalog)) app.use("/*", new StaticHandler(toolcontext.share_dir / "nitweb", "index.html")) -- 1.7.9.5