Fix zip archive typo.
This commit is contained in:
1 parent
c627c873f9
commit
3c163b8e76
1 file changed
+1
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user