summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-01-10 13:15:08 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-01-10 13:15:08 +0100
commit089f3579a16a414d91d2512e2868faa329dbe7b0 (patch)
treece89af731e4ff4c1488ac6ab743bea15eaab8278
parent65e25154a92ea47384bc540c129288ca9dad96cb (diff)
Static files should be on /static, not /files.
-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>()));