Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
杨雁茸 authored and 杨雁茸 committed Sep 24, 2024
1 parent 19599a9 commit 1020801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/background.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export default class Application {
const locale = settings.locale || 'en'

if (this._isProduction === true && this._isCi === false) {
this._mainWindow.loadURL(`app://./${locale}/home.html`);
this._mainWindow.loadURL(`app://./${locale}/home`);
} else {
const port = process.argv[2] || 3000;
this._mainWindow.loadURL(`http://localhost:${port}/${locale}/home`);
Expand Down

0 comments on commit 1020801

Please sign in to comment.