Skip to content

Commit 0572fb7

Browse files
Enable DOH
1 parent 3d0dae1 commit 0572fb7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ if(isDev){
3333

3434
app.commandLine.appendSwitch("ppapi-flash-path", flashpath);
3535
app.commandLine.appendSwitch("ppapi-flash-version", "32.0.0.371");
36+
app.commandLine.appendSwitch('enable-features', 'DnsOverHttps');
37+
app.commandLine.appendSwitch('dns-over-https-servers', 'https://cloudflare-dns.com/dns-query');
38+
3639
// I do not know why this exists or what this does.
3740
app.commandLine.appendSwitch('disable-site-isolation-trials')
3841
function createWindow() {

0 commit comments

Comments
 (0)