Software / code / prosody
Changeset
8759:9e839fb4541a
Merge 0.10->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 24 Apr 2018 22:59:41 +0100 |
| parents | 8756:2db9c9e3adc1 (current diff) 8758:c380a22d52d5 (diff) |
| children | 8760:6f3c3bb768cb |
| files | util/events.lua |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http_files.lua Wed Apr 18 08:49:44 2018 +0100 +++ b/plugins/mod_http_files.lua Tue Apr 24 22:59:41 2018 +0100 @@ -144,7 +144,7 @@ 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