Remove User-Agent from form to upload debug log
This commit is contained in:
parent
356fac8d14
commit
4ca674edb2
1 changed files with 0 additions and 1 deletions
|
@ -44,7 +44,6 @@ exports.upload = async content => {
|
|||
|
||||
const contentBuffer = Buffer.from(content, 'utf8');
|
||||
const contentType = 'text/plain';
|
||||
form.append('User-Agent', USER_AGENT);
|
||||
form.append('Content-Type', contentType);
|
||||
form.append('file', contentBuffer, {
|
||||
contentType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue