1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-11-27 21:00:05 +01:00

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==" "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
}, },
"inquirer": { "inquirer": {
"version": "7.3.3", "version": "7.3.3",

View File

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