File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const createAppLinkHref = (
29
29
}
30
30
31
31
if ( appsHost && app . subdomain && app . subdomain_name ) {
32
- const baseUrl = `${ protocol } //${ appsHost . replace ( "*" , app . subdomain_name ) } ` ;
32
+ const baseUrl = `${ protocol } //${ appsHost . replace ( / \* / g , app . subdomain_name ) } ` ;
33
33
const url = new URL ( baseUrl ) ;
34
34
url . pathname = "/" ;
35
35
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export const portForwardURL = (
15
15
16
16
const subdomain = `${ port } ${ suffix } --${ agentName } --${ workspaceName } --${ username } ` ;
17
17
18
- const baseUrl = `${ location . protocol } //${ host . replace ( "*" , subdomain ) } ` ;
18
+ const baseUrl = `${ location . protocol } //${ host . replace ( / \* / g , subdomain ) } ` ;
19
19
const url = new URL ( baseUrl ) ;
20
20
if ( pathname ) {
21
21
url . pathname = pathname ;
You can’t perform that action at this time.
0 commit comments