8 lines
213 B
Plaintext
8 lines
213 B
Plaintext
export function dehydrateSsrMatchId(id: string): string {
|
|
return id.replaceAll('/', '\0')
|
|
}
|
|
|
|
export function hydrateSsrMatchId(id: string): string {
|
|
return id.replaceAll('\0', '/').replaceAll('\uFFFD', '/')
|
|
}
|