nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/popcorn: document use_before and use_after
[nit.git]
/
lib
/
popcorn
/
examples
/
middlewares
/
example_simple_logger.nit
diff --git
a/lib/popcorn/examples/middlewares/example_simple_logger.nit
b/lib/popcorn/examples/middlewares/example_simple_logger.nit
index
98be552
..
4052169
100644
(file)
--- a/
lib/popcorn/examples/middlewares/example_simple_logger.nit
+++ b/
lib/popcorn/examples/middlewares/example_simple_logger.nit
@@
-30,6
+30,6
@@
end
var app = new App
-app.use("/*", new LogHandler)
+app.use_before("/*", new LogHandler)
app.use("/", new HelloHandler)
app.listen("localhost", 3000)