Skip to content

Commit dad5a73

Browse files
committed
fix(generator/background): revert 00d7710 due to __dirname issue
1 parent a1f1c39 commit dad5a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/template/src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function createWindow () {
2424
} else {
2525
createProtocol('app')
2626
// Load the index.html when not in development
27-
win.loadURL('app://./index.html')
27+
win.loadFile('index.html')
2828
}
2929

3030
win.on('closed', () => {

0 commit comments

Comments
 (0)