forked from cory/tildefriends
		
	Avoid a null dereference.
This commit is contained in:
		| @@ -1145,8 +1145,8 @@ async function blobHandler(request, response, blobId, uri) { | ||||
| 		} | ||||
|  | ||||
| 		let app_object = JSON.parse(utf8Decode(await getBlobOrContent(app_id))); | ||||
| 		id = app_object.files[uri.substring(1)]; | ||||
| 		if (!id && app_object.files['handler.js']) { | ||||
| 		id = app_object?.files[uri.substring(1)]; | ||||
| 		if (!id && app_object?.files['handler.js']) { | ||||
| 			let answer; | ||||
| 			try { | ||||
| 				answer = await useAppHandler( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user