From 089f3579a16a414d91d2512e2868faa329dbe7b0 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 10 Jan 2011 13:15:08 +0100 Subject: Static files should be on /static, not /files. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); -- cgit v1.2.3