Fix broken shit after dep updates
This commit is contained in:
parent
7878346910
commit
d89c8872d2
15 changed files with 1169 additions and 713 deletions
|
@ -26,6 +26,7 @@ export default class Uploader {
|
|||
this.expectedSize = context.request.headers['content-length'];
|
||||
this.tempGuid = context.request.headers['hostr-guid'];
|
||||
this.remoteIp = context.request.headers['x-forwarded-for'] || context.req.connection.remoteAddress;
|
||||
this.remoteIp = this.remoteIp.split(',')[0];
|
||||
this.md5sum = crypto.createHash('md5');
|
||||
|
||||
this.lastPercent = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue