mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-10 02:16:18 +00:00
Update URL to fetch queries from v1 branch
This commit is contained in:
@@ -68,7 +68,7 @@ export class SearchOnBing extends Workers {
|
|||||||
// Fetch from the repo directly so the user doesn't need to redownload the script for the new activities
|
// Fetch from the repo directly so the user doesn't need to redownload the script for the new activities
|
||||||
const response = await this.bot.axios.request({
|
const response = await this.bot.axios.request({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: 'https://raw.githubusercontent.com/TheNetsky/Microsoft-Rewards-Script/refs/heads/main/src/functions/queries.json'
|
url: 'https://raw.githubusercontent.com/TheNetsky/Microsoft-Rewards-Script/refs/heads/v1/src/functions/queries.json'
|
||||||
})
|
})
|
||||||
queries = response.data
|
queries = response.data
|
||||||
}
|
}
|
||||||
@@ -88,4 +88,4 @@ export class SearchOnBing extends Workers {
|
|||||||
private normalizeString(string: string): string {
|
private normalizeString(string: string): string {
|
||||||
return string.normalize('NFD').trim().toLowerCase().replace(/[^\x20-\x7E]/g, '').replace(/[?!]/g, '')
|
return string.normalize('NFD').trim().toLowerCase().replace(/[^\x20-\x7E]/g, '').replace(/[?!]/g, '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user