web / lib/config/payload-shared-config / DEFAULT_UPLOAD_CONFIG
Variable: DEFAULT_UPLOAD_CONFIG
const
DEFAULT_UPLOAD_CONFIG:object
Type declaration
limits
limits:
object
limits.fileSize
fileSize:
number
=100000000
abortOnLimit
abortOnLimit:
boolean
=true
uploadTimeout
uploadTimeout:
number
=600000
useTempFiles
useTempFiles:
boolean
=true
tempFileDir
tempFileDir:
string
safeFileNames
safeFileNames:
boolean
=true
preserveExtension
preserveExtension:
number
=4