Spoof UserAgent as browser. Fixes VCs?????
This commit is contained in:
parent
4afafa5038
commit
d0e7a319d6
1 changed files with 4 additions and 0 deletions
|
@ -256,6 +256,10 @@ export function createMainWindow() {
|
|||
makeLinksOpenExternally(win);
|
||||
initSettingsListeners(win);
|
||||
|
||||
win.webContents.setUserAgent(
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
|
||||
);
|
||||
|
||||
const subdomain =
|
||||
Settings.store.discordBranch === "canary" || Settings.store.discordBranch === "ptb"
|
||||
? `${Settings.store.discordBranch}.`
|
||||
|
|
Loading…
Reference in a new issue