File size: 132 Bytes
1e92f2d |
1 2 3 4 5 6 7 |
export function encodeURIPath(file: string) {
return file
.split('/')
.map((p) => encodeURIComponent(p))
.join('/')
}
|
1e92f2d |
1 2 3 4 5 6 7 |
export function encodeURIPath(file: string) {
return file
.split('/')
.map((p) => encodeURIComponent(p))
.join('/')
}
|