From 868b500cf269b5433c889cc2e92105b84e2d09fa Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Mon, 18 Mar 2019 23:39:47 -0400 Subject: [PATCH] fix image name --- webapp/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/server.js b/webapp/server.js index 505dc19..07c8ce0 100644 --- a/webapp/server.js +++ b/webapp/server.js @@ -355,7 +355,7 @@ app.post('/set-skin', function (req, res){ next(err); } else { - var thisData = indirectPath + ".png"; + var thisData = destNameNoExt + ".png"; fs.writeFile(thisData, indirectPath, function(err, data) { if (err) console.log(err); console.log("Successfully wrote " + thisData