forked from cory/tildefriends
		
	Fix an ancient reconnect bug.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3953 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -815,9 +815,10 @@ function connectSocket(path) { | ||||
| 			+ "/app/socket"); | ||||
| 		gSocket.onopen = function() { | ||||
| 			setStatusMessage("🟡 Authenticating...", kStatusColor); | ||||
| 			let connect_path = path ?? window.location.pathname; | ||||
| 			gSocket.send(JSON.stringify({ | ||||
| 				action: "hello", | ||||
| 				path: path, | ||||
| 				path: connect_path, | ||||
| 				api: Object.entries(k_api).map(([key, value]) => [].concat([key], value.args)), | ||||
| 			})); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user