Added Cider useragent for testing
This commit is contained in:
parent
55227b4f5c
commit
7318aa8aab
1 changed files with 7 additions and 1 deletions
|
@ -206,7 +206,13 @@ export class Win {
|
||||||
})
|
})
|
||||||
|
|
||||||
let location = `http://localhost:${this.clientPort}/`
|
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'})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue