File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,11 @@ export async function checkSiteUrl(accessToken: string, siteUrl: string) {
9292 // Convert the site URL into all possible formats
9393 if ( siteUrl . startsWith ( "https://" ) ) {
9494 formattedUrls . push ( siteUrl ) ;
95- formattedUrls . push ( convertToHTTP ( siteUrl ) ) ;
95+ formattedUrls . push ( convertToHTTP ( siteUrl . replace ( "https://" , "" ) ) ) ;
9696 formattedUrls . push ( convertToSCDomain ( siteUrl ) ) ;
9797 } else if ( siteUrl . startsWith ( "http://" ) ) {
9898 formattedUrls . push ( siteUrl ) ;
99- formattedUrls . push ( convertToHTTPS ( siteUrl ) ) ;
99+ formattedUrls . push ( convertToHTTPS ( siteUrl . replace ( "http://" , "" ) ) ) ;
100100 formattedUrls . push ( convertToSCDomain ( siteUrl ) ) ;
101101 } else if ( siteUrl . startsWith ( "sc-domain:" ) ) {
102102 formattedUrls . push ( siteUrl ) ;
You can’t perform that action at this time.
0 commit comments