Merge
[prosody.git] / plugins / mod_http_files.lua
index 59fd50aaf630799568e1b50d81cd632003922a2e..6ab295acf3070c9d2312e72a1a2f15519fb56370 100644 (file)
@@ -32,7 +32,7 @@ if not mime_map then
                jpeg = "image/jpeg", jpg = "image/jpeg",
                svg = "image/svg+xml",
        };
-       module:shared("mime").types = mime_map;
+       module:shared("/*/http_files/mime").types = mime_map;
 
        local mime_types, err = open(module:get_option_string("mime_types_file", "/etc/mime.types"),"r");
        if mime_types then