File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -206,13 +206,14 @@ const patchCurrentAccount = (SDK) => {
206206
207207const patchToolkitInfo = ( ToolkitInfo ) => {
208208 const setBucketUrl = function setBucketUrl ( object , bucket , domain ) {
209+ const newBucketUrl = `https://${ domain . replace ( `${ bucket } .` , "" ) } :${ EDGE_PORT } /${ bucket } ` ;
209210 if ( DEBUG_ON ) {
210211 console . debug ( "Old bucketUrl:" , object . bucketUrl ) ;
211- console . debug ( "New bucketUrl:" , `https:// ${ domain . replace ( ` ${ bucket } .` , "" ) } : ${ EDGE_PORT } / ${ bucket } ` ) ;
212+ console . debug ( "New bucketUrl:" , newBucketUrl ) ;
212213 }
213214 Object . defineProperty ( object , "bucketUrl" , {
214215 get ( ) {
215- return `https:// ${ domain . replace ( ` ${ bucket } .` , "" ) } : ${ EDGE_PORT } / ${ bucket } ` ;
216+ return newBucketUrl ;
216217 }
217218 } ) ;
218219 } ;
You can’t perform that action at this time.
0 commit comments