Skip to content

Commit ed18da0

Browse files
committed
fix load url
1 parent 48cf503 commit ed18da0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/backend/app/app.module.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ import { AppService } from './app.service'
2323
win.on('closed', () => {
2424
win.destroy()
2525
})
26+
// const URL = isDev
27+
//
28+
// ? process.env.DS_RENDERER_URL
29+
// : `file://${join(app.getAppPath(), 'dist/frontend/index.html')}`
2630
const URL = isDev
2731

2832
? process.env.DS_RENDERER_URL
29-
: `file://${join(app.getAppPath(), 'dist/frontend/index.html')}`
33+
: 'http://127.0.0.1:3007'
3034
win.loadURL(URL)
3135

3236
return { win }

0 commit comments

Comments
 (0)