feat(discover): randomly sort results

This commit is contained in:
ItzCrazyKns
2025-07-29 13:18:36 +05:30
parent 45b51ab156
commit 88be3a045b

View File

@ -60,6 +60,7 @@ export const GET = async (req: Request) => {
)
.map((result) => result)
.flat()
.sort(() => Math.random() - 0.5);
} else {
data = (
await searchSearxng(