mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-19 06:36:48 +08:00
[Desktop] Dev server is hardcoded on package.json, so lets hardcode it here as well
This commit is contained in:
@@ -32,7 +32,7 @@ let mainWindowState: WindowState
|
||||
let menubarWindowState: WindowState
|
||||
|
||||
const startURL = __DEV__
|
||||
? `http://${process.env.HOST || 'localhost'}:${process.env.PORT || 3000}`
|
||||
? 'http://localhost:3000'
|
||||
: `file://${path.join(__dirname, 'web/index.html')}`
|
||||
|
||||
function setupBrowserExtensions() {
|
||||
|
||||
Reference in New Issue
Block a user