Diff

plugins/mod_http_files.lua @ 4722:1138fd3d5846

mod_http_files: Specify method in HTTP route
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Apr 2012 18:40:44 +0100
parent 4716:6eeb142a8073
child 4868:550f0a5e85c5
line wrap: on
line diff
--- a/plugins/mod_http_files.lua	Fri Apr 27 18:37:40 2012 +0100
+++ b/plugins/mod_http_files.lua	Fri Apr 27 18:40:44 2012 +0100
@@ -51,7 +51,7 @@
 
 module:provides("http", {
 	route = {
-		["/*"] = serve_file;
+		["GET /*"] = serve_file;
 	};
 });