electron splash screen

This commit is contained in:
Jan Prochazka
2020-04-10 21:53:00 +02:00
parent 5030c673e6
commit 01e0949b28
4 changed files with 60 additions and 3 deletions

View File

@@ -4,7 +4,9 @@ export default function resolveApi() {
if (electron) {
const port = electron.remote.getGlobal('port');
return `http://localhost:${port}`;
if (port) {
return `http://localhost:${port}`;
}
}
}