Skip to content

Commit 2aa3f21

Browse files
authored
Update postgresql-app-host.md (#2615)
correct method to be used
1 parent 621dac3 commit 2aa3f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/database/includes/postgresql-app-host.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To configure the host port for the pgWeb container, call the <xref:Aspire.Hostin
119119
var builder = DistributedApplication.CreateBuilder(args);
120120

121121
var postgres = builder.AddPostgres("postgres")
122-
.WithPgAdmin(pgWeb => pgWeb.WithHostPort(5050));
122+
.WithPgWeb(pgWeb => pgWeb.WithHostPort(5050));
123123

124124
var postgresdb = postgres.AddDatabase("postgresdb");
125125

0 commit comments

Comments
 (0)