//  Screenshot Backend
//  Application entry point

var config = require("./config.json");

var uploader = require("./uploader");
var express = require("express");
var morgan = require("morgan");
var bodyParser = require("body-parser");

// Multer
var multer  = require("multer");
var upload = multer({ storage: multer.diskStorage(uploader.multerStorage), fileFilter: uploader.fileFilter });

// Express app
var app = express();

// Express middleware
app.use(morgan("dev"));
app.use(bodyParser.urlencoded({ extended: false }));

// Routes
app.get("/", function(req, res) {
    res.send("screenshot-backend");
});

app.post("/upload", upload.single("screenshot"), function(req, res) { // sharex upload
    uploader.save(req, function(response) {
        res.send(response);
    });
});

app.post("/upload/:key", upload.single("screenshot"), function(req, res) { // gyazowin upload
    uploader.save(req, function(response) {
        res.send(response);
    });
});

// Express server
app.listen(config.port, function() {
    console.log("App listening on port " + config.port);
});

@@ -639,34 +639,28 @@
 oad.single(%22
-screenshot
+file
 %22), function
@@ -814,26 +814,20 @@
 single(%22
-screenshot
+file
 %22), func

Change "screenshot" to "file"