Origin has changed

This commit is contained in:
Lamp 2021-02-24 12:06:38 -08:00 committed by GitHub
parent 29a07865bd
commit 9a7c2178e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ Client.prototype.connect = function() {
require('https').get('https://www.multiplayerpiano.com').on("error", () => {});
this.ws = new WebSocket(this.uri, {
headers: {
"origin": "https://www.multiplayerpiano.com",
"origin": "https://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"
}
});