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:
parent
498a093cde
commit
7c2962afcf
@ -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});
|
||||
|
Loading…
Reference in New Issue
Block a user