diff options
Diffstat (limited to 'server/helpers/upload.ts')
-rw-r--r-- | server/helpers/upload.ts | 14 |
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 @@ | |||
1 | import { join } from 'path' | ||
2 | import { DIRECTORIES } from '@server/initializers/constants' | ||
3 | |||
4 | function getResumableUploadPath (filename?: string) { | ||
5 | if (filename) return join(DIRECTORIES.RESUMABLE_UPLOAD, filename) | ||
6 | |||
7 | return DIRECTORIES.RESUMABLE_UPLOAD | ||
8 | } | ||
9 | |||
10 | // --------------------------------------------------------------------------- | ||
11 | |||
12 | export { | ||
13 | getResumableUploadPath | ||
14 | } | ||