Hardcode postgres endpoint

This commit is contained in:
Victor Meng
2022-10-05 23:23:14 -07:00
parent 8ad426c82f
commit 3b790ed3e2

View File

@@ -77,7 +77,7 @@ export class NotebookTerminalComponent extends React.Component<NotebookTerminalC
} else if (StringUtils.endsWith(notebookServerEndpoint, "cassandra")) {
terminalEndpoint = this.props.databaseAccount?.properties.cassandraEndpoint;
} else if (StringUtils.endsWith(notebookServerEndpoint, "postgresql")) {
return this.props.databaseAccount?.properties.postgresqlEndpoint;
return "c.vimeng-postgre-citus.postgres.database.azure.com";
}
if (terminalEndpoint) {