fix maxContentLength issue
This commit is contained in:
parent
125eb8b20a
commit
cb2ecb9b74
|
@ -161,9 +161,8 @@ class Server {
|
|||
`/skynet/skyfile/${req.params.uuid}`,
|
||||
file.data,
|
||||
{
|
||||
params: {
|
||||
filename: file.name
|
||||
}
|
||||
maxContentLength: MAX_UPLOAD_FILESIZE,
|
||||
params: { filename: file.name }
|
||||
}
|
||||
)
|
||||
return res.send(data)
|
||||
|
|
Reference in New Issue