forked from cory/tildefriends
		
	Fix app 404s.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4000 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		@@ -98,7 +98,12 @@ function socket(request, response, client) {
 | 
			
		||||
					packageName = match[2];
 | 
			
		||||
					blobId = await new Database(packageOwner).get('path:' + packageName);
 | 
			
		||||
					if (!blobId) {
 | 
			
		||||
						response.send(JSON.stringify({action: "error", error: message.path + ' not found'}), 0x1);
 | 
			
		||||
						response.send(JSON.stringify({
 | 
			
		||||
							message: 'tfrpc',
 | 
			
		||||
							method: "error",
 | 
			
		||||
							params: [message.path + ' not found'],
 | 
			
		||||
							id: -1,
 | 
			
		||||
						}), 0x1);
 | 
			
		||||
						return;
 | 
			
		||||
					}
 | 
			
		||||
					if (packageOwner != 'core') {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user