mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2026-02-27 02:39:47 +00:00
Merge branch '2.0' into net-http
This commit is contained in:
@@ -26,7 +26,7 @@ func HandleTrending(w http.ResponseWriter, r *http.Request) error {
|
||||
|
||||
section := r.URL.Query().Get("section")
|
||||
switch section {
|
||||
case "hot", "new", "top":
|
||||
case "hot", "new", "top", "random":
|
||||
default:
|
||||
section = "hot"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user