Skip to content

Commit

Permalink
Redirect popular to trending (better caching)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Jan 5, 2025
1 parent a6bb522 commit fb15f7d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ namespace Http

@get("/playlet-invidious-backend/api/v1/popular")
function GetPopular(context as object) as boolean
return m.GetTrending(context)
response = context.response
response.Redirect("/playlet-invidious-backend/api/v1/trending")
return true
end function

@get("/playlet-invidious-backend/api/v1/search/suggestions")
Expand Down

0 comments on commit fb15f7d

Please sign in to comment.