mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 06:21:42 +01:00
Fix /web
prefix (#19468)
This commit is contained in:
parent
8ebff0efcb
commit
31e23269f9
1 changed files with 3 additions and 3 deletions
|
@ -681,7 +681,7 @@ Rails.application.routes.draw do
|
||||||
get path, to: 'home#index'
|
get path, to: 'home#index'
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web
|
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }
|
||||||
get '/about', to: 'about#show'
|
get '/about', to: 'about#show'
|
||||||
get '/about/more', to: redirect('/about')
|
get '/about/more', to: redirect('/about')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue