Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantalabs committed Apr 2, 2022
1 parent a426e06 commit 50b2674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ http
fs.writeFileSync(
`./uploads/textareas/textarea.txt`,
fields.texttoupload,
{ flag: 'w+' }
{ flag: "w+" }
);

// Redirect to the downloads page
res.writeHead(302, {
Location: `http://${host}:${port}/download`,
});
res.end()
res.end();
} else {
var oldpath = files.filetoupload.filepath;
var newpath = "./uploads/" + files.filetoupload.originalFilename;
Expand Down

0 comments on commit 50b2674

Please sign in to comment.