Oof. I couldn't have an app with its own style.css.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3852 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-02-27 21:15:36 +00:00
parent 498a093cde
commit 7c2962afcf

View File

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