Update URL to fetch queries from v1 branch

This commit is contained in:
Netsky
2025-12-27 15:10:34 +01:00
committed by GitHub
parent 0059192519
commit ee16f1fd10

View File

@@ -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
const response = await this.bot.axios.request({
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
}
@@ -88,4 +88,4 @@ export class SearchOnBing extends Workers {
private normalizeString(string: string): string {
return string.normalize('NFD').trim().toLowerCase().replace(/[^\x20-\x7E]/g, '').replace(/[?!]/g, '')
}
}
}