forked from cory/tildefriends
Fixed the login/out link in the corner. Filled in obvious gaps in error reporting.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3199 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@@ -174,9 +174,10 @@ function socket(request, response, client) {
|
||||
packageOwner = match[1];
|
||||
packageName = match[2];
|
||||
}
|
||||
response.send(JSON.stringify({action: "hello"}), 0x1);
|
||||
var sessionId = makeSessionId();
|
||||
response.send(JSON.stringify({lines: [{action: "session", sessionId: sessionId, credentials: credentials}]}), 0x1);
|
||||
|
||||
process = getSessionProcess(packageOwner, packageName, makeSessionId(), options);
|
||||
process = getSessionProcess(packageOwner, packageName, sessionId, options);
|
||||
process.terminal.readOutput(function(message) {
|
||||
response.send(JSON.stringify(message), 0x1);
|
||||
});
|
||||
|
Reference in New Issue
Block a user