aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8256717..924ac58 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -59,8 +59,8 @@ int main(int argc, char ** argv)
tmgr->ParseTemplates(dynamic_fs);
}
- cmgr->RegisterModule(std::make_shared<Markdown>("/", wwwroot + "/pages", "index.html"));
- cmgr->RegisterModule(std::make_shared<Blog>("/blog", wwwroot + "/blog", "blog/index.html"));
+ cmgr->RegisterModule(std::make_shared<Markdown>("/p", wwwroot + "/pages", "pages.html"));
+ cmgr->RegisterModule(std::make_shared<Blog>("/", wwwroot + "/blog", "index.html"));
if (cmgr->InitAll() == false)
{