diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/uploadx.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/uploadx.ts b/server/lib/uploadx.ts index 9484eff75..cdbe7e473 100644 --- a/server/lib/uploadx.ts +++ b/server/lib/uploadx.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import express from 'express' | 1 | import express from 'express' |
2 | import { buildLogger } from '@server/helpers/logger' | ||
2 | import { getResumableUploadPath } from '@server/helpers/upload' | 3 | import { getResumableUploadPath } from '@server/helpers/upload' |
3 | import { Uploadx } from '@uploadx/core' | 4 | import { Uploadx } from '@uploadx/core' |
4 | 5 | ||
@@ -10,6 +11,8 @@ const uploadx = new Uploadx({ | |||
10 | // Could be big with thumbnails/previews | 11 | // Could be big with thumbnails/previews |
11 | maxMetadataSize: '10MB', | 12 | maxMetadataSize: '10MB', |
12 | 13 | ||
14 | logger: buildLogger('uploadx'), | ||
15 | |||
13 | userIdentifier: (_, res: express.Response) => { | 16 | userIdentifier: (_, res: express.Response) => { |
14 | if (!res.locals.oauth) return undefined | 17 | if (!res.locals.oauth) return undefined |
15 | 18 | ||