]>
Commit | Line | Data |
---|---|---|
f6d6e7f8 | 1 | import { join } from 'path' |
2 | import { RESUMABLE_UPLOAD_DIRECTORY } from '../initializers/constants' | |
3 | ||
4 | function getResumableUploadPath (filename?: string) { | |
5 | if (filename) return join(RESUMABLE_UPLOAD_DIRECTORY, filename) | |
6 | ||
7 | return RESUMABLE_UPLOAD_DIRECTORY | |
8 | } | |
9 | ||
f6d6e7f8 | 10 | // --------------------------------------------------------------------------- |
11 | ||
12 | export { | |
790c2837 | 13 | getResumableUploadPath |
f6d6e7f8 | 14 | } |