Skip to content

Commit aca98ee

Browse files
chore(devtools): launch correct path in production mode
1 parent eff5cfa commit aca98ee

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind-devtools/backend

1 file changed

+1
-1
lines changed

packages/node_modules/overmind-devtools/backend/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function createWindow() {
2020
mainWindow.on('closed', () => app.quit())
2121

2222
if (process.env.NODE_ENV === 'production') {
23-
mainWindow.loadFile(path.resolve('dist', 'index.html'))
23+
mainWindow.loadFile(path.join(__dirname, '..', 'dist', 'index.html'))
2424
} else {
2525
mainWindow.loadURL('http://localhost:3000')
2626
mainWindow.webContents.openDevTools()

0 commit comments

Comments
 (0)