Skip to content

Commit 92102fe

Browse files
fix(overmind-devtools): fix path issue
1 parent 2799804 commit 92102fe

File tree

1 file changed

+4
-1
lines changed
  • packages/node_modules/overmind-devtools/src

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ function createWindow() {
3131
'data:text/html;charset=UTF-8,' +
3232
encodeURIComponent(devtoolBackend.getMarkup('bundle.js', port)),
3333
{
34-
baseURLForDataURL: `file://${path.resolve()}/devtoolsDist/`,
34+
baseURLForDataURL: `file://${path.join(
35+
__dirname,
36+
'..'
37+
)}/devtoolsDist/`,
3538
}
3639
)
3740
} else {

0 commit comments

Comments
 (0)