Compare commits

...

2 Commits

Author SHA1 Message Date
vaidankarswapnil
7248678f6e Fixed a11y graph properties type issue 2022-01-31 16:01:50 +05:30
Armando Trejo Oliver
4728dc48d7 Add Mooncake and Fairfax BE and Mongo endpoints to allowed endpoints (#1213) 2022-01-28 18:43:34 -08:00
2 changed files with 6 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ export class EditorNodePropertiesComponent extends React.Component<EditorNodePro
this.props.onUpdateProperties(this.props.editedProperties);
}}
required
aria-label="Select Type"
>
{EditorNodePropertiesComponent.VERTEX_PROPERTY_TYPES.map((type: string) => (
<option value={type} key={type}>

View File

@@ -31,7 +31,7 @@ function validateEndpointInternal(
if (!valid) {
throw new Error(
`${endpointToValidate} is not an allowed endpoint. Allowed endpoints are ${allowedArmEndpoints.toString()}`
`${endpointToValidate} is not an allowed endpoint. Allowed endpoints are ${allowedEndpoints.toString()}`
);
}
@@ -48,12 +48,16 @@ export const allowedAadEndpoints: ReadonlyArray<string> = ["https://login.micros
export const allowedBackendEndpoints: ReadonlyArray<string> = [
"https://main.documentdb.ext.azure.com",
"https://main.documentdb.ext.azure.cn",
"https://main.documentdb.ext.azure.us",
"https://localhost:12901",
"https://localhost:1234",
];
export const allowedMongoProxyEndpoints: ReadonlyArray<string> = [
"https://main.documentdb.ext.azure.com",
"https://main.documentdb.ext.azure.cn",
"https://main.documentdb.ext.azure.us",
"https://localhost:12901",
];