Update URL for fetching queries from GitHub (v2)

This commit is contained in:
Netsky
2025-12-13 15:33:52 +01:00
committed by GitHub
parent f5c7ff4907
commit d76106d3cc

View File

@@ -62,7 +62,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/v2/src/functions/queries.json'
})
queries = response.data
}
@@ -82,4 +82,4 @@ export class SearchOnBing extends Workers {
private normalizeString(string: string): string {
return string.normalize('NFD').trim().toLowerCase().replace(/[^\x20-\x7E]/g, '').replace(/[?!]/g, '')
}
}
}