Skip to content

Commit 2d56877

Browse files
committed
Removed Console Logs
1 parent 7f39776 commit 2d56877

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/core/Util.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,12 @@ export const validateAndSanitizeConfig = (config) => {
239239
}
240240

241241
export 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(/^https?:\/\//, '')
253250
}

0 commit comments

Comments
 (0)