diff --git a/core/core.js b/core/core.js index 43aa54d7..94aa7841 100644 --- a/core/core.js +++ b/core/core.js @@ -409,7 +409,7 @@ async function blobHandler(request, response, blobId, uri) { var found = false; if (!found) { for (var i in kStaticFiles) { - if (uri === kStaticFiles[i].uri) { + if (uri === kStaticFiles[i].uri && kStaticFiles[i].path) { found = true; var data = await File.readFile("core/" + kStaticFiles[i].path); response.writeHead(200, {"Content-Type": kStaticFiles[i].type, "Content-Length": data.byteLength});