diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-04-24 22:59:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-04-24 22:59:41 +0100 |
commit | 5a19b1b2aafbbeace63ff268a8f4be11fcf8ec93 (patch) | |
tree | 32738193f40c5114889c72612fe0dfbffa325d38 /plugins/mod_http_files.lua | |
parent | 5e9616894f9b8a07addc25dd24654367775e8602 (diff) | |
parent | 9972a600aa6cffdf59737172caf79e55713f3c59 (diff) | |
download | prosody-5a19b1b2aafbbeace63ff268a8f4be11fcf8ec93.tar.gz prosody-5a19b1b2aafbbeace63ff268a8f4be11fcf8ec93.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_http_files.lua')
-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 e477bafe..c5986e37 100644 --- a/plugins/mod_http_files.lua +++ b/plugins/mod_http_files.lua @@ -144,7 +144,7 @@ function serve(opts) if not data then return 403; end - cache[orig_path] = { data = data, content_type = mime_map.html; etag = etag; }; + cache:set(orig_path, { data = data, content_type = mime_map.html; etag = etag; }); response_headers.content_type = mime_map.html; else |