Skip to content

Commit a3aac41

Browse files
authored
Update to config.js example
The comment mentioned not including the protocol nor the port but both are required in the config.endpoint.
1 parent 3842456 commit a3aac41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/create-graph-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Here's an example of what your completed *config.js* file should look like:
164164
```javascript
165165
var config = {}
166166
167-
// Note that this must not have HTTPS or the port number
167+
// Note that this must include the protocol (HTTPS:// for .NET SDK URI or wss:// for Gremlin Endpoint) and the port number
168168
config.endpoint = "https://testgraphacct.gremlin.cosmosdb.azure.com:443/";
169169
config.primaryKey = "Pams6e7LEUS7LJ2Qk0fjZf3eGo65JdMWHmyn65i52w8ozPX2oxY3iP0yu05t9v1WymAHNcMwPIqNAEv3XDFsEg==";
170170
config.database = "graphdb"

0 commit comments

Comments
 (0)