plugins/mod_http_files.lua
changeset 5247 9257f4c47ffa
parent 5238 0cc0359d8c39
child 5248 13553f4132a8
--- a/plugins/mod_http_files.lua	Sat Dec 15 05:34:30 2012 +0100
+++ b/plugins/mod_http_files.lua	Sun Dec 16 08:17:28 2012 +0100
@@ -98,7 +98,7 @@
 				end
 			end
 			data = "<!DOCTYPE html>\n"..tostring(html);
-			cache[path] = { data = html, content_type = mime_map.html; hits = 0 };
+			cache[path] = { data = data, content_type = mime_map.html; hits = 0 };
 			response.headers.content_type = mime_map.html;
 		end