Update to Hanami 2.1.0rc3

This commit is contained in:
2024-02-17 09:39:18 +11:00
parent 12673b7aff
commit 0e02c6768f
30 changed files with 237 additions and 82 deletions

View File

@@ -16,6 +16,7 @@ require "rack/rewrite"
use Rack::Rewrite do
# remove trailing slashes
r302 %r{(/.*)/(\?.*)?$}, "$1$2"
rewrite %r{/fonts/(.*)?$}, "/assets/$1"
end
require "adamantium/middleware/header_fix"