This commit is contained in:
parent
f1b47e2cb2
commit
0c054dcfa6
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue