fix(examples): correct the path in with-electron (#8370)

* fix(examples): correct path in with-electron

* Update index.js
This commit is contained in:
Kristoffer K 2019-08-14 20:44:34 +02:00 committed by Tim Neutkens
parent d3f25ccbc5
commit a7baeb045e

View file

@ -23,7 +23,7 @@ app.on('ready', async () => {
const url = isDev
? 'http://localhost:8000/start'
: format({
pathname: join(__dirname, '../renderer/start/index.html'),
pathname: join(__dirname, '../renderer/start.html'),
protocol: 'file:',
slashes: true
})