diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-10 13:15:08 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-10 13:15:08 +0100 |
commit | 089f3579a16a414d91d2512e2868faa329dbe7b0 (patch) | |
tree | ce89af731e4ff4c1488ac6ab743bea15eaab8278 | |
parent | 65e25154a92ea47384bc540c129288ca9dad96cb (diff) |
Static files should be on /static, not /files.
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>())); |