blob: 3cb17edd0aeaafeea1eb5dc369e787326fb2d92f (
plain) (
tree)
|
|
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
}
|