[32788f42] feat: implement database persistence, modernized UI with Tailwind, and Calendly-integrated QR card generator for Fotograf.de scraper
This commit is contained in:
8
fotograf-de-scraper/frontend/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts
generated
vendored
Normal file
8
fotograf-de-scraper/frontend/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Removes everything after the last "/", but leaves the slash.
|
||||
*/
|
||||
export default function stripFilename(path: string | undefined | null): string {
|
||||
if (!path) return '';
|
||||
const index = path.lastIndexOf('/');
|
||||
return path.slice(0, index + 1);
|
||||
}
|
||||
Reference in New Issue
Block a user