Closed HarshitChari closed 3 years ago
if(region === 'kr'){ await page.goto(https://$www.op.gg/summoner/userName=${user}) }else{ await page.goto(https://${region}.op.gg/summoner/userName=${user}) }
https://$www.op.gg/summoner/userName=${user}
https://${region}.op.gg/summoner/userName=${user}
Yeah, I think it should be op.gg only cause it goes to Korea by default
I have created a pull request and added a necessary change! you can merge to fix it
Merged it
if(region === 'kr'){ await page.goto(
https://$www.op.gg/summoner/userName=${user}
) }else{ await page.goto(https://${region}.op.gg/summoner/userName=${user}
) }