nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca3cc8
)
nitweb: Adapt server to new `pop_logging` interface
author
Alexandre Terrasa
<alexandre@moz-code.org>
Sat, 15 Jun 2019 01:39:40 +0000
(21:39 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 18 Jun 2019 00:57:30 +0000
(20:57 -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
9e9d54f
..
d3c8c63
100644
(file)
--- a/
src/nitweb.nit
+++ b/
src/nitweb.nit
@@
-99,7
+99,7
@@
private class NitwebPhase
app.use("/oauth", new GithubOAuthCallBack(config.github_client_id, config.github_client_secret))
app.use("/logout", new GithubLogout)
app.use("/*", new StaticHandler(toolcontext.share_dir / "nitweb", "index.html"))
- app.use_after("/*", new ConsoleLog)
+ app.use_after("/*", new PopLogger(info_level))
app.listen(config.app_host, config.app_port)
end