This commit is contained in:
parent
cedf977146
commit
2e76de2dbd
|
@ -77,7 +77,7 @@ Client.prototype.connect = function() {
|
||||||
require('https').get('https://www.multiplayerpiano.com');
|
require('https').get('https://www.multiplayerpiano.com');
|
||||||
this.ws = new WebSocket(this.uri, {
|
this.ws = new WebSocket(this.uri, {
|
||||||
headers: {
|
headers: {
|
||||||
"origin": "http://www.multiplayerpiano.com",
|
"origin": "https://www.multiplayerpiano.com",
|
||||||
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
|
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue