mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 17:06:15 +00:00
proxy should be false by default
This commit is contained in:
@@ -375,7 +375,7 @@ export function loadAccounts(): Account[] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!a.proxy || typeof a.proxy !== 'object') {
|
if (!a.proxy || typeof a.proxy !== 'object') {
|
||||||
a.proxy = { proxyAxios: true, url: '', port: 0, username: '', password: '' }
|
a.proxy = { proxyAxios: false, url: '', port: 0, username: '', password: '' }
|
||||||
} else {
|
} else {
|
||||||
// Safe proxy property access with runtime validation
|
// Safe proxy property access with runtime validation
|
||||||
const proxy = a.proxy as Record<string, unknown>
|
const proxy = a.proxy as Record<string, unknown>
|
||||||
|
|||||||
Reference in New Issue
Block a user