mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +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": {
|
||||
"devtron": "1.4.0",
|
||||
"electron": "4.0.1",
|
||||
"electron": "4.0.3",
|
||||
"electron-builder": "20.38.4",
|
||||
"electron-compile": "6.4.3",
|
||||
"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(cookieParser());
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
|
|
Loading…
Reference in a new issue