+1
-1
@@ -229,7 +229,7 @@ app.post('/api/ping', (request, response) => {
|
||||
|
||||
// File uploads
|
||||
const uploadsPath = path.join(cliArgs.dataRoot, UPLOADS_DIRECTORY);
|
||||
app.use(multer({ dest: uploadsPath, limits: { fieldSize: 10 * 1024 * 1024 } }).single('avatar'));
|
||||
app.use(multer({ dest: uploadsPath, limits: { fieldSize: 500 * 1024 * 1024 } }).single('avatar'));
|
||||
app.use(multerMonkeyPatch);
|
||||
|
||||
app.get('/version', async function (_, response) {
|
||||
|
||||
Reference in New Issue
Block a user