aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_files.lua
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
commite9de5a1a10930ab3a6e722221affdd0fe18f9121 (patch)
treed8001c8c4cfe3131e94c33f4a9bf590fc8431e6b /plugins/mod_http_files.lua
parentc06a35c238fc6e27e3b034a4cfe5c26f783692fb (diff)
downloadprosody-e9de5a1a10930ab3a6e722221affdd0fe18f9121.tar.gz
prosody-e9de5a1a10930ab3a6e722221affdd0fe18f9121.zip
mod_http_files: Specify method in HTTP route
Diffstat (limited to 'plugins/mod_http_files.lua')
-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;
};
});