Compare commits

..

No commits in common. "main" and "v4.4.1" have entirely different histories.
main ... v4.4.1

View File

@ -123,7 +123,8 @@ export async function uri2local(ctx: Context, uri: string, needExt?: boolean): P
const { type } = checkUriType(uri)
if (type === FileUriType.FileURL) {
const filePath = fileURLToPath(uri)
const fileUri = uri.replace(/%/g, '%25').replace(/#/g, '%23')
const filePath = fileURLToPath(fileUri)
const fileName = path.basename(filePath)
// console.log('fileURLToPath', filePath)
// console.log('fileName', fileName)