This commit is contained in:
Lamp 2020-10-20 12:37:32 -07:00 committed by GitHub
parent f1b47e2cb2
commit 0c054dcfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Client.prototype.connect = function() {
this.emit("status", "Connecting..."); this.emit("status", "Connecting...");
if(typeof module !== "undefined") { if(typeof module !== "undefined") {
// nodejsicle // nodejsicle
require('https').get('https://www.multiplayerpiano.com'); require('https').get('https://www.multiplayerpiano.com').on("error", () => {});
this.ws = new WebSocket(this.uri, { this.ws = new WebSocket(this.uri, {
headers: { headers: {
"origin": "https://www.multiplayerpiano.com", "origin": "https://www.multiplayerpiano.com",