We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff5cfa commit aca98eeCopy full SHA for aca98ee
packages/node_modules/overmind-devtools/backend/main.js
@@ -20,7 +20,7 @@ function createWindow() {
20
mainWindow.on('closed', () => app.quit())
21
22
if (process.env.NODE_ENV === 'production') {
23
- mainWindow.loadFile(path.resolve('dist', 'index.html'))
+ mainWindow.loadFile(path.join(__dirname, '..', 'dist', 'index.html'))
24
} else {
25
mainWindow.loadURL('http://localhost:3000')
26
mainWindow.webContents.openDevTools()
0 commit comments