We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d91f76 + 3b3d7fc commit 9736972Copy full SHA for 9736972
electron-app/src/utils/window_manager.ts
@@ -71,10 +71,10 @@ class WindowManager {
71
const storedUrl = store.get('url') as string | null;
72
log.info('storedUrl at line 70,', storedUrl);
73
74
+ const newStoredUrl = storedUrl?.replace('https//', 'https://') ?? null;
75
+ log.info('new', newStoredUrl);
76
- const newStoredUrl = storedUrl.replace('https//', 'https://');
- log.info('new',newStoredUrl);
77
- const url = storedUrl ? newStoredUrl : getCustomProtocolUrl(process.argv);
+ const url = newStoredUrl || getCustomProtocolUrl(process.argv);
78
log.info('The url at line 71 in the startLoading', url);
79
80
if (url) {
0 commit comments