Merge pull request #1394 from processing/download-zip-503

Fixes #850: 503 error when downloading sketch
This commit is contained in:
Cassie Tarakajian 2020-04-15 17:40:14 -04:00 committed by GitHub
commit 46d4f2c427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export function projectForUserExists(username, projectId, callback) {
}
function bundleExternalLibs(project, zip, callback) {
const indexHtml = project.files.find(file => file.name === 'index.html');
const indexHtml = project.files.find(file => file.name.match(/\.html$/));
let numScriptsResolved = 0;
let numScriptTags = 0;