mirror of
https://gitea.invidious.io/iv-org/instances-api.git
synced 2024-08-15 00:53:15 +00:00
Fix default sort
This commit is contained in:
parent
047d53bfb1
commit
25d8a9d76d
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ end
|
|||
|
||||
get "/" do |env|
|
||||
sort_by = env.params.query["sort_by"]?
|
||||
sort_by ||= "users-reverse"
|
||||
sort_by ||= "users"
|
||||
|
||||
sort_proc = ->(instance : Tuple(String, Instance)) { instance[0] }
|
||||
instances = INSTANCES.dup.to_a
|
||||
|
|
Loading…
Reference in a new issue