commit e8334e06a3a40bace39813e3ca51e41d16fe7da3
parent 39c2232eb997c00077b25f9702f23ef4e591b9fd
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date: Tue, 3 Sep 2019 20:07:44 -0400
Removes tests
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ferron/link.lua b/ferron/link.lua
@@ -64,8 +64,8 @@ function link.makerewritemap()
for k, v in pairs(links) do
-- location "/C" { block return 301 "https://$SERVER_NAME/C" }
- -- map:write(v .. ' ' .. k, '\n')
- map:write('location match ' .. '"/' .. tostring(v) .. '" { block return 301 "https://$SERVER_NAME' .. tostring(k), '"}\n')
+ map:write(v .. ' ' .. k, '\n')
+ -- map:write('location match ' .. '"/' .. tostring(v) .. '" { block return 301 "https://$SERVER_NAME' .. tostring(k), '"}\n')
end
-- Close it when it's done