changeset 2453:f36a6dcc05ef

mod_candy: Add note about redirect from /candy to /candy/ not being necessary anymore
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2017 01:21:21 +0100
parents 7d86018a6394
children 51cf82d36a8a
files mod_candy/mod_candy.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_candy/mod_candy.lua	Fri Jan 20 01:20:48 2017 +0100
+++ b/mod_candy/mod_candy.lua	Fri Jan 20 01:21:21 2017 +0100
@@ -51,7 +51,8 @@
 					}));
 		end;
 		["GET /*"] = serve(module:get_directory().."/www_files");
-		GET = function(event)
+
+		GET = function(event) -- TODO Remove this, it's done by mod_http in 0.10+
 			event.response.headers.location = event.request.path.."/";
 			return 301;
 		end;