Generate random seed when ?sort=random param is specified

This commit is contained in:
2022-11-23 20:43:11 -05:00
parent 38fba363f2
commit 4ec54c9a32
10 changed files with 23542 additions and 153 deletions

View File

@@ -162,4 +162,8 @@ export function decompressMime(mime: string): string {
.replace("F", "font/")
.replace(",", "+")
.replace("X", "x-")
}
export function randomSeed(): number {
return Math.round(Math.random() * 100000);
}