File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ class WindowManager {
6767 this . loadLoadingWindowContent ( ) ;
6868 this . loadingWindow . once ( 'show' , async ( ) => {
6969 const storedUrl = store . get ( 'url' ) as string | null ;
70- const url = storedUrl ? storedUrl : getCustomProtocolUrl ( process . argv ) ;
71- log . info ( 'The url at line 71 in the startLoading' , url ) ;
70+ const newStoredUrl = storedUrl . replace ( 'https//' , 'https://' ) ;
71+ const url = storedUrl ? newStoredUrl : getCustomProtocolUrl ( process . argv ) ;
7272 if ( url ) {
7373 const sessionId = extractSessionIdFromUrl ( url ) ;
7474 FirebaseService . useCurrentSession . set ( sessionId ) ;
@@ -87,7 +87,8 @@ class WindowManager {
8787 public startApp = async ( ) : Promise < void > => {
8888 await this . createMainWindow ( ) ;
8989 const storedUrl = store . get ( 'url' ) as string | null ;
90- const url = storedUrl ? storedUrl : getCustomProtocolUrl ( process . argv ) ;
90+ const newStoredUrl = storedUrl . replace ( 'https//' , 'https://' ) ;
91+ const url = storedUrl ? newStoredUrl : getCustomProtocolUrl ( process . argv ) ;
9192 if ( process . platform !== 'darwin' ) {
9293 if ( url ) {
9394 /**
You can’t perform that action at this time.
0 commit comments