Skip to content

Commit b193c3c

Browse files
Rich-HarrisAce Nassri
authored andcommitted
Fix docs — config.socketPath should be config.host (#749)
1 parent 8af041e commit b193c3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/sql/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const pgConfig = {
8585
};
8686

8787
if (process.env.NODE_ENV === 'production') {
88-
pgConfig.socketPath = `/cloudsql/${connectionName}`;
88+
pgConfig.host = `/cloudsql/${connectionName}`;
8989
}
9090

9191
// Connection pools reuse connections between invocations,

0 commit comments

Comments
 (0)