equal
deleted
inserted
replaced
1 -- (C) 2011, Marco Cirillo (LW.Org) |
1 -- (C) 2011, Marco Cirillo (LW.Org) |
2 -- Exposes stats on HTTP for the stanza counter module. |
2 -- Exposes stats on HTTP for the stanza counter module. |
3 |
3 |
4 module:depends("http") |
4 module:depends("http") |
5 module:set_global() |
|
6 |
5 |
7 local base_path = module:get_option_array("stanza_counter_basepath", "/stanza-counter/") |
6 local base_path = module:get_option_array("stanza_counter_basepath", "/stanza-counter/") |
8 |
7 |
9 -- http handlers |
8 -- http handlers |
10 |
9 |