Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/fundamentals/connection/csot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The following code examples use the ``timeoutMS`` option to specify a timeout of
.. code-block:: javascript
:emphasize-lines: 2

const uri = "mongodb://<hostname:<port>";
const uri = "mongodb://<hostname>:<port>";
const client = new MongoClient(uri, { timeoutMS: 30000 });

.. tab:: Connection String
Expand All @@ -59,7 +59,7 @@ The following code examples use the ``timeoutMS`` option to specify a timeout of
.. code-block:: javascript
:emphasize-lines: 1

const uri = "mongodb://<hostname:<port>?timeoutMS=30000";
const uri = "mongodb://<hostname>:<port>?timeoutMS=30000";
const client = new MongoClient(uri);

.. note::
Expand Down