mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 03:58:53 +08:00
raise payload size limit to 500 MB #395
This commit is contained in:
parent
60271993eb
commit
5619088c41
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"devtron": "1.4.0",
|
"devtron": "1.4.0",
|
||||||
"electron": "4.0.1",
|
"electron": "4.0.3",
|
||||||
"electron-builder": "20.38.4",
|
"electron-builder": "20.38.4",
|
||||||
"electron-compile": "6.4.3",
|
"electron-compile": "6.4.3",
|
||||||
"electron-packager": "13.0.1",
|
"electron-packager": "13.0.1",
|
||||||
|
|
|
@ -39,7 +39,7 @@ app.use((req, res, next) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.use(bodyParser.json({limit: '50mb'}));
|
app.use(bodyParser.json({limit: '500mb'}));
|
||||||
app.use(bodyParser.urlencoded({extended: false}));
|
app.use(bodyParser.urlencoded({extended: false}));
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
app.use(express.static(path.join(__dirname, 'public')));
|
app.use(express.static(path.join(__dirname, 'public')));
|
||||||
|
|
Loading…
Reference in a new issue