Skip to content

Commit

Permalink
Fix distribution endpoint redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Jul 13, 2021
1 parent cae43a3 commit 8c9623e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Expand Up @@ -51,7 +51,7 @@
get 'distributions/testing', to: redirect('https://get.opensuse.org/testing')
get 'distributions/legacy', to: redirect('https://get.opensuse.org/legacy')

get 'api/v0/distributions', to: redirect('https://get.opensuse.org/api/v0/distributions')
get 'api/v0/distributions', to: redirect('https://get.opensuse.org/api/v0/distributions.json')

get '421', to: redirect('/distributions/leap')
get '421/:locale', to: redirect('/distributions/leap?locale=%{locale}')
Expand Down

0 comments on commit 8c9623e

Please sign in to comment.