fix(examples): correct the path in with-electron (#8370)
* fix(examples): correct path in with-electron * Update index.js
This commit is contained in:
parent
d3f25ccbc5
commit
a7baeb045e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue