aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/upload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/upload.ts')
-rw-r--r--server/helpers/upload.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/server/helpers/upload.ts b/server/helpers/upload.ts
deleted file mode 100644
index f5f476913..000000000
--- a/server/helpers/upload.ts
+++ /dev/null
@@ -1,14 +0,0 @@
1import { join } from 'path'
2import { DIRECTORIES } from '@server/initializers/constants'
3
4function getResumableUploadPath (filename?: string) {
5 if (filename) return join(DIRECTORIES.RESUMABLE_UPLOAD, filename)
6
7 return DIRECTORIES.RESUMABLE_UPLOAD
8}
9
10// ---------------------------------------------------------------------------
11
12export {
13 getResumableUploadPath
14}