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