diff --git a/scripts/probe-subscription-endpoints.ts b/scripts/probe-subscription-endpoints.ts index ed3bd6d24..cfab5277d 100644 --- a/scripts/probe-subscription-endpoints.ts +++ b/scripts/probe-subscription-endpoints.ts @@ -117,7 +117,8 @@ async function main(): Promise { ) const { accessToken, orgUUID } = await prepareApiRequest() const baseUrl = getOauthConfig().BASE_API_URL - console.log(`base: ${baseUrl}`) + const { origin: baseOrigin } = new URL(baseUrl) + console.log(`base: ${baseOrigin}`) console.log(`orgUUID: ${orgUUID.slice(0, 8)}…\n`) console.log( ' STATUS PATH BETA HEADER RESPONSE PREVIEW',