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 | e9de5a1a10930ab3a6e722221affdd0fe18f9121 (patch) | |
tree | d8001c8c4cfe3131e94c33f4a9bf590fc8431e6b /plugins | |
parent | c06a35c238fc6e27e3b034a4cfe5c26f783692fb (diff) | |
download | prosody-e9de5a1a10930ab3a6e722221affdd0fe18f9121.tar.gz prosody-e9de5a1a10930ab3a6e722221affdd0fe18f9121.zip |
mod_http_files: Specify method in HTTP route
Diffstat (limited to 'plugins')
-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; }; }); |