Fix zip archive typo.

This commit is contained in:
2022-12-11 15:08:01 +02:00
parent c627c873f9
commit 3c163b8e76
+1 -1
View File
@@ -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',