Added right share url link

This commit is contained in:
chris
2022-06-18 00:12:36 +08:00
parent f60bc598a8
commit f3fe8e7835

View File

@@ -136,12 +136,4 @@ export class Upload2Notion {
new Notice(`write file error ${error}`) new Notice(`write file error ${error}`)
} }
} }
getFilePath(file: TFile): string {
const basePath: string = file.vault.adapter.getBasePath();
const filePath: string = file.path;
const fullPath = normalizePath(join(basePath, filePath));
return fullPath;
}
} }