mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_http_files: Silence luacheck warnings related to config variables
This commit is contained in:
parent
681bf74342
commit
35efbc8a8d
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ function serve(opts)
|
|||
if type(opts) ~= "table" then -- assume path string
|
||||
opts = { path = opts };
|
||||
end
|
||||
-- luacheck: ignore 431
|
||||
local base_path = opts.path;
|
||||
local dir_indices = opts.index_files or dir_indices;
|
||||
local directory_index = opts.directory_index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue