aboutsummaryrefslogtreecommitdiff
path: root/webAO/utils/paths.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/utils/paths.ts')
-rw-r--r--webAO/utils/paths.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/webAO/utils/paths.ts b/webAO/utils/paths.ts
new file mode 100644
index 0000000..f4284b6
--- /dev/null
+++ b/webAO/utils/paths.ts
@@ -0,0 +1 @@
+export const getFilenameFromPath = (path: string) => path.substring(path.lastIndexOf('/') + 1)