Add tests
holic opened this issue · comments
Not really sure how to easily test the Lua code, but rewriting in Go would be a lot easier to test, assuming it's more performant.
Maybe move the redirect logic to a function/module with return location, status
and test the module with a familiar external language (Node?).