Skip to content

Commit

Permalink
change UserAgent to edge to get more chat logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lony2003 committed Feb 12, 2024
1 parent 3e1d27a commit b7ca753
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ function createWindow() {
})

const bingUrl = getWrapperUrl()
mainWindow.loadURL(urlUtil.format(bingUrl))
mainWindow.loadURL(urlUtil.format(bingUrl), {
userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"
})

// mainWindow.webContents.openDevTools();

Expand Down

0 comments on commit b7ca753

Please sign in to comment.