Fix protocol separator typo.
diff --git a/docs/src/cors/tutorial001.py b/docs/src/cors/tutorial001.py
index 4ec8d01881fd6..b0a581d2e953d 100644
--- a/docs/src/cors/tutorial001.py
+++ b/docs/src/cors/tutorial001.py
@@ -6,8 +6,8 @@
 origins = [
     "http://localhost.tiangolo.com",
     "https://localhost.tiangolo.com",
-    "http:localhost",
-    "http:localhost:8080",
+    "http://localhost",
+    "http://localhost:8080",
 ]
 
 app.add_middleware(
