This commit is contained in:
2024-05-17 17:25:57 +05:30
parent 4897b69d97
commit b87e02497d
12 changed files with 462 additions and 93 deletions

View File

@@ -1,5 +1,4 @@
const extractFilename = (filePath) => {
console.log(filePath);
// Use the split method to break the path into parts based on '/'
const parts = filePath.split('/');
// Return the last part, which is the filename