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