author | Kim Alvefur <zash@zash.se> |
Tue, 17 Apr 2018 18:40:57 +0200 | |
changeset 8760 | 861a7d6c12d8 |
parent 8744 | 0fd63ed1f647 |
child 8761 | c380a22d52d5 |
--- a/plugins/mod_http_files.lua Fri Apr 06 22:12:45 2018 +0200 +++ b/plugins/mod_http_files.lua Tue Apr 17 18:40:57 2018 +0200 @@ -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