aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-27 18:40:44 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-27 18:40:44 +0100
commitaa1d8dd97b673e7fdd4c72fd4216b593dbb79f87 (patch)
treed8001c8c4cfe3131e94c33f4a9bf590fc8431e6b /plugins
parent9d5830281a0a149e0fbfdda68e7c1ba760d20c7b (diff)
downloadprosody-aa1d8dd97b673e7fdd4c72fd4216b593dbb79f87.tar.gz
prosody-aa1d8dd97b673e7fdd4c72fd4216b593dbb79f87.zip
mod_http_files: Specify method in HTTP route
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua
index 9be735b7..dc58ff5d 100644
--- a/plugins/mod_http_files.lua
+++ b/plugins/mod_http_files.lua
@@ -51,7 +51,7 @@ end
module:provides("http", {
route = {
- ["/*"] = serve_file;
+ ["GET /*"] = serve_file;
};
});