Skip to content

Commit ce2b970

Browse files
committed
update: Electron loads from dev server
1 parent b415a68 commit ce2b970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function createWindow() {
2121

2222
// createMenu();
2323

24-
main.loadURL(`file://${__dirname}/index.html`);
25-
// main.loadURL(`http://localhost:8081`);
24+
// main.loadURL(`file://${__dirname}/index.html`);
25+
main.loadURL(`http://localhost:8081`);
2626

2727
main.on('closed', () => {
2828
main = null;

0 commit comments

Comments
 (0)