Changeset

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
parents 4721:1c6c4c53f08a
children 4723:198b11ed196a
files plugins/mod_http_files.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 	};
 });