nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f474b64
)
nitweb: init session
author
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 2 Aug 2016 03:26:45 +0000
(23:26 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Sun, 14 Aug 2016 17:24:19 +0000
(13:24 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/nitweb.nit
patch
|
blob
|
history
diff --git
a/src/nitweb.nit
b/src/nitweb.nit
index
9376172
..
a953fcb
100644
(file)
--- 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"))