mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_http_files: Change option name from http_path to http_files_dir
This commit is contained in:
parent
6c6566bace
commit
0c686d4e7a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ local lfs = require "lfs";
|
|||
local open = io.open;
|
||||
local stat = lfs.attributes;
|
||||
|
||||
local http_base = module:get_option_string("http_path", "www_files");
|
||||
local http_base = module:get_option_string("http_files_dir", module:get_option_string("http_path", "www_files"));
|
||||
|
||||
-- TODO: Should we read this from /etc/mime.types if it exists? (startup time...?)
|
||||
local mime_map = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue