aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_files.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-13 23:24:36 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-13 23:24:36 +0100
commit9052e8bf8faf0c5cf0d5f645cbe2abe8e6464817 (patch)
tree79ee0e0fb16935e5bccc66437d2064837668f111 /plugins/mod_http_files.lua
parent68036030e2d66232f23135cd6830e313be013432 (diff)
parentcd8304b6e0e62e9b917b640778580cf538b52b3c (diff)
downloadprosody-9052e8bf8faf0c5cf0d5f645cbe2abe8e6464817.tar.gz
prosody-9052e8bf8faf0c5cf0d5f645cbe2abe8e6464817.zip
Merge the merge
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 915bec58..59fd50aa 100644
--- a/plugins/mod_http_files.lua
+++ b/plugins/mod_http_files.lua
@@ -19,7 +19,7 @@ local base_path = module:get_option_string("http_files_dir", module:get_option_s
local dir_indices = module:get_option("http_index_files", { "index.html", "index.htm" });
local directory_index = module:get_option_boolean("http_dir_listing");
-local mime_map = module:shared("mime").types;
+local mime_map = module:shared("/*/http_files/mime").types;
if not mime_map then
mime_map = {
html = "text/html", htm = "text/html",