X-Git-Url: http://nitlanguage.org diff --git a/src/nitweb.nit b/src/nitweb.nit index ab16edc..d3c8c63 100644 --- a/src/nitweb.nit +++ b/src/nitweb.nit @@ -17,7 +17,6 @@ module nitweb import frontend import doc::api -import doc::doc_down redef class ToolContext @@ -88,6 +87,7 @@ private class NitwebPhase redef fun process_mainmodule(mainmodule, mmodules) do var config = build_config(toolcontext, mainmodule) + config.model.index # pre load model index config.model.nitdoc_md_processor = config.md_processor var app = new App @@ -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