Added Cider useragent for testing

This commit is contained in:
Core 2022-01-08 22:42:27 +00:00
parent 55227b4f5c
commit 7318aa8aab
No known key found for this signature in database
GPG key ID: 1B77805746C47C28

View file

@ -206,7 +206,13 @@ export class Win {
})
let location = `http://localhost:${this.clientPort}/`
this.win.loadURL(location)
if (electron.app.isPackaged) {
this.win.loadURL(location)
} else {
this.win.loadURL(location, {userAgent: 'Cider Development Environment'})
}
}
/**