fix maxContentLength issue

This commit is contained in:
Karol Wypchlo 2020-02-17 17:46:58 +01:00
parent 125eb8b20a
commit cb2ecb9b74
1 changed files with 2 additions and 3 deletions

View File

@ -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)