[Desktop] Dev server is hardcoded on package.json, so lets hardcode it here as well

This commit is contained in:
Bruno Lemos
2018-12-29 22:21:50 -02:00
parent 74a608035a
commit 5e8ae9b093

View File

@@ -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() {