silverwolf-x/project / packages /next /src /shared /lib /page-path /denormalize-app-path.ts
silverwolf-x's picture
download
raw
161 Bytes
export function denormalizeAppPagePath(page: string): string {
// `/` is normalized to `/index`
if (page === '/index') {
return '/'
}
return page
}

Xet Storage Details

Size:
161 Bytes
·
Xet hash:
74ec3d7e6b69682f4f220d53191cf470805242d22ac5d719ce3d52bd91d5e576

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.