blob: 3cb17edd0aeaafeea1eb5dc369e787326fb2d92f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { join } from 'path'
import { RESUMABLE_UPLOAD_DIRECTORY } from '../initializers/constants'
function getResumableUploadPath (filename?: string) {
if (filename) return join(RESUMABLE_UPLOAD_DIRECTORY, filename)
return RESUMABLE_UPLOAD_DIRECTORY
}
// ---------------------------------------------------------------------------
export {
getResumableUploadPath
}
|