mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
Merge branch 'trunk' into Configure-Server-Settings-with-ENV-Vars
This commit is contained in:
commit
6e57d3140d
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ export default fastifyPlugin(
|
|||
PATH,
|
||||
{
|
||||
preHandler: [userMiddleware, administratorMiddleware],
|
||||
// 24gb, just in case
|
||||
bodyLimit: 24 * 1024 * 1024 * 1024,
|
||||
},
|
||||
async (req, res) => {
|
||||
if (req.user.role !== 'SUPERADMIN') return res.forbidden('not super admin');
|
||||
|
|
Loading…
Add table
Reference in a new issue