# HG changeset patch # User Kim Alvefur # Date 1484871681 -3600 # Node ID f36a6dcc05efba04971f4ae218cf216c41b18fd6 # Parent 7d86018a63944989232cd037d73cd2e23293cc8d mod_candy: Add note about redirect from /candy to /candy/ not being necessary anymore diff -r 7d86018a6394 -r f36a6dcc05ef mod_candy/mod_candy.lua --- 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;