summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index ec5c0fe..6fa7504 100644
--- a/main.cpp
+++ b/main.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv) {
httpd.add_handler("files", &foo_handler);
HTTP::Static static_files("static");
- httpd.add_handler("files", static_files);
+ httpd.add_handler("static", static_files);
httpd.add_handler("", static_files);
telnet::Server telnetd(io_service, tcp::endpoint(tcp::v6(), config::vm["audist.telnetd_port"].as<int>()));