Use base36 for the RSC query (#52204)
By using a larger base we can have a shorter parameter with almost the same result space.
This commit is contained in:
parent
3406e13ab0
commit
220377e381
1 changed files with 1 additions and 1 deletions
|
@ -9,5 +9,5 @@ export function djb2Hash(str: string) {
|
|||
}
|
||||
|
||||
export function hexHash(str: string) {
|
||||
return djb2Hash(str).toString(16).slice(0, 7)
|
||||
return djb2Hash(str).toString(36).slice(0, 5)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue