Skip to content

Commit 462f44e

Browse files
committed
hide port in the database url as it's the default
1 parent dbd3591 commit 462f44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/postgres-new/components/deployed-database-fields.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function DeployedDatabaseFields(props: DeployedDatabaseFieldsProps) {
1313
const connectionStringPassword = props.password
1414
? encodeURIComponent(props.password)
1515
: '[YOUR-PASSWORD]'
16-
const connectionString = `postgresql://${props.username}:${connectionStringPassword}@${props.host}:${port}/${props.databaseName}`
16+
const connectionString = `postgresql://${props.username}:${connectionStringPassword}@${props.host}/${props.databaseName}`
1717

1818
return (
1919
<div className="space-y-4">

0 commit comments

Comments
 (0)