Skip to content

Commit 46d4f2c

Browse files
authored
Merge pull request #1394 from processing/download-zip-503
Fixes #850: 503 error when downloading sketch
2 parents c433809 + ce653ce commit 46d4f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/controllers/project.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function projectForUserExists(username, projectId, callback) {
167167
}
168168

169169
function bundleExternalLibs(project, zip, callback) {
170-
const indexHtml = project.files.find(file => file.name === 'index.html');
170+
const indexHtml = project.files.find(file => file.name.match(/\.html$/));
171171
let numScriptsResolved = 0;
172172
let numScriptTags = 0;
173173

0 commit comments

Comments
 (0)