File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -239,15 +239,12 @@ export const validateAndSanitizeConfig = (config) => {
239239}
240240
241241export const getRegionEndpoint = ( region , service = 'contentManagement' ) => {
242- console . log ( 'region' , region )
243242 const regionData = regionHostMap . regions . find ( r =>
244243 r . id === region ||
245244 r . alias . some ( alias => alias === region )
246245 )
247- console . log ( 'regionData' , regionData )
248246 if ( ! regionData ) {
249247 throw new Error ( `Invalid region '${ region } ' provided. Allowed regions are: ${ regionHostMap . regions . map ( r => r . id ) . join ( ', ' ) } ` )
250248 }
251- console . log ( 'regionData.endpoints[service]' , regionData . endpoints [ service ] )
252249 return regionData . endpoints [ service ] ?. replace ( / ^ h t t p s ? : \/ \/ / , '' )
253250}
You can’t perform that action at this time.
0 commit comments