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