ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

upload.ts 373 B

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