mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-13 15:28:05 +01:00
Add console log
This commit is contained in:
parent
9cf3c7902e
commit
a6dbfc70aa
@ -124,10 +124,13 @@ export const endpoint = () => {
|
|||||||
const location = _global.parent ? _global.parent.location : _global.location;
|
const location = _global.parent ? _global.parent.location : _global.location;
|
||||||
return configContext.EMULATOR_ENDPOINT || location.origin;
|
return configContext.EMULATOR_ENDPOINT || location.origin;
|
||||||
}
|
}
|
||||||
return (
|
const endpoint: string = userContext.selectedRegionalEndpoint ||
|
||||||
userContext.selectedRegionalEndpoint ||
|
|
||||||
userContext.endpoint ||
|
userContext.endpoint ||
|
||||||
userContext?.databaseAccount?.properties?.documentEndpoint
|
userContext?.databaseAccount?.properties?.documentEndpoint;
|
||||||
|
|
||||||
|
console.log("endpoint value", endpoint);
|
||||||
|
return (
|
||||||
|
endpoint
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user