use nginx proxi

separate commit cuz github web
This commit is contained in:
Lamp 2020-04-08 14:54:06 -07:00 committed by GitHub
parent dd4ec17ff7
commit 56987ae761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ global.screenshotter = {
await page.goto('http://www.multiplayerpiano.com/lobby');
await page.evaluate(function () {
document.getElementById('modal').click();
MPP.client.uri = "ws://530s.gq:28886";
MPP.client.uri = "ws://530s.gq/mpp-proxy";
});
await new Promise(resolve => setTimeout(resolve, 5000));
let screenshot = await page.screenshot({ type: 'png' });