Fixes #850: 503 error when downloading sketch

This commit is contained in:
Cassie Tarakajian 2020-04-15 17:39:28 -04:00
parent c433809bb8
commit ce653ceebb
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;