mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 12:58:06 +01:00
Fix redirects from /web/ discarding everything after a dot (#20148)
Fixes #20145
This commit is contained in:
parent
6ba52306f9
commit
dd7176a4b5
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ Rails.application.routes.draw do
|
|||
get path, to: 'home#index'
|
||||
end
|
||||
|
||||
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }
|
||||
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }, format: false
|
||||
get '/about', to: 'about#show'
|
||||
get '/about/more', to: redirect('/about')
|
||||
|
||||
|
|
Loading…
Reference in a new issue