From 3c163b8e76fc1bfabed97d9c8d5ba1793686d814 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Sun, 11 Dec 2022 15:08:01 +0200 Subject: [PATCH] Fix zip archive typo. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 0a564e5..1fbf80f 100755 --- a/server.js +++ b/server.js @@ -131,7 +131,7 @@ app.get('/publish', async (req, res) => { } if (responseData.uploadUrl) { - await zipProject(path.join(projectPath, 'src'), path.join(projectPath, 'disp.zip')); + await zipProject(path.join(projectPath, 'src'), path.join(projectPath, 'dist.zip')); const body = await fs.readFile(path.join(projectPath, 'dist.zip')); const response = await fetch(`${responseData.uploadUrl}`, { method: 'PUT',