forked from cory/tildefriends
		
	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:
		| @@ -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}); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user