diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-27 18:40:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-27 18:40:44 +0100 |
commit | aa1d8dd97b673e7fdd4c72fd4216b593dbb79f87 (patch) | |
tree | d8001c8c4cfe3131e94c33f4a9bf590fc8431e6b /plugins/mod_http_files.lua | |
parent | 9d5830281a0a149e0fbfdda68e7c1ba760d20c7b (diff) | |
download | prosody-aa1d8dd97b673e7fdd4c72fd4216b593dbb79f87.tar.gz prosody-aa1d8dd97b673e7fdd4c72fd4216b593dbb79f87.zip |
mod_http_files: Specify method in HTTP route
Diffstat (limited to 'plugins/mod_http_files.lua')
-rw-r--r-- | plugins/mod_http_files.lua | 2 |
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; }; }); |