From 2800316dae67905b4c2649c9edf8d76d2a5b0e19 Mon Sep 17 00:00:00 2001 From: lindseymoore <71525840+lindseymoore@users.noreply.github.com> Date: Wed, 16 Apr 2025 16:56:01 -0400 Subject: [PATCH] DOCSP-49332 Fix hostname typo (#1087) (cherry picked from commit 1a7aa49f13b86472f2e872ef8cf779393f5f160b) --- source/fundamentals/connection/csot.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/connection/csot.txt b/source/fundamentals/connection/csot.txt index b92d87b08..3f97e5e9c 100644 --- a/source/fundamentals/connection/csot.txt +++ b/source/fundamentals/connection/csot.txt @@ -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://"; + const uri = "mongodb://:"; const client = new MongoClient(uri, { timeoutMS: 30000 }); .. tab:: Connection String @@ -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://?timeoutMS=30000"; + const uri = "mongodb://:?timeoutMS=30000"; const client = new MongoClient(uri); .. note::