1 import { join } from 'path'
2 import { DIRECTORIES } from '@server/initializers/constants'
4 function getResumableUploadPath (filename?: string) {
5 if (filename) return join(DIRECTORIES.RESUMABLE_UPLOAD, filename)
7 return DIRECTORIES.RESUMABLE_UPLOAD
10 // ---------------------------------------------------------------------------
13 getResumableUploadPath