fix production URL

This commit is contained in:
Matthias Kretschmann 2021-01-30 18:07:43 +01:00
parent 6990268784
commit 41168ce85a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 4 deletions

6
package-lock.json generated
View File

@ -13974,9 +13974,9 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
},
"inquirer": {
"version": "7.3.3",

View File

@ -50,7 +50,7 @@ const height = 450
})
if (isProd) {
await mainWindow.loadURL('app://./index.html')
await mainWindow.loadURL('app://index.html')
} else {
const port = process.argv[2]
await mainWindow.loadURL(`http://localhost:${port}/`)