Skip to content

Commit

Permalink
🔧 config: block dit as a crashlog
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Mar 23, 2023
1 parent 2f43c08 commit 27687ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export async function initPage(sessionId?: string, config?:ConfigObject, qrManag
await waPage.evaluate('window.WA_AUTHENTICATED=true;');
quickAuthed = true;
}
if (request.url().includes('https://crashlogs.whatsapp.net/') && blockCrashLogs){
if (["https://dit.whatsapp.net/deidentified_telemetry", "https://crashlogs.whatsapp.net/"].find(u=>request.url().includes(u)) && blockCrashLogs){
request.abort();
}
else if (proxyAddr && !config?.useNativeProxy) {
Expand Down

0 comments on commit 27687ee

Please sign in to comment.