mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 17:56:15 +00:00
feat: update sign-in URL to redirect to the rewards dashboard
This commit is contained in:
@@ -68,7 +68,7 @@ export const SELECTORS = {
|
|||||||
|
|
||||||
export const URLS = {
|
export const URLS = {
|
||||||
REWARDS_BASE: 'https://rewards.bing.com',
|
REWARDS_BASE: 'https://rewards.bing.com',
|
||||||
REWARDS_SIGNIN: 'https://rewards.bing.com/signin',
|
REWARDS_SIGNIN: 'https://www.bing.com/rewards/dashboard',
|
||||||
APP_USER_DATA: 'https://prod.rewardsplatform.microsoft.com/dapi/me?channel=SAAndroid&options=613'
|
APP_USER_DATA: 'https://prod.rewardsplatform.microsoft.com/dapi/me?channel=SAAndroid&options=613'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export class Login {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
await page.goto('https://rewards.bing.com/signin', { waitUntil: 'domcontentloaded' })
|
await page.goto('https://www.bing.com/rewards/dashboard', { waitUntil: 'domcontentloaded' })
|
||||||
await this.disableFido(page)
|
await this.disableFido(page)
|
||||||
|
|
||||||
const [, , portalCheck] = await Promise.allSettled([
|
const [, , portalCheck] = await Promise.allSettled([
|
||||||
|
|||||||
Reference in New Issue
Block a user