From 019b1bab4b67ec208878c8716eb545152ebc1b7e Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Wed, 20 Dec 2023 21:27:06 +1100 Subject: [PATCH] Don't redirect trailing slashes --- config.ru | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ru b/config.ru index afe4924..2699500 100644 --- a/config.ru +++ b/config.ru @@ -15,7 +15,7 @@ use Rack::Session::Cookie, require "rack/rewrite" use Rack::Rewrite do # remove trailing slashes - r302 %r{(/.*)/(\?.*)?$}, "$1$2" + # r302 %r{(/.*)/(\?.*)?$}, "$1$2" end run Hanami.app