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

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;