]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:pencil2: Fix protocol separator typo (#647)
authorForest Monsen <forest.monsen@gmail.com>
Wed, 27 Nov 2019 19:37:19 +0000 (11:37 -0800)
committerSebastián Ramírez <tiangolo@gmail.com>
Wed, 27 Nov 2019 19:37:19 +0000 (20:37 +0100)
docs/src/cors/tutorial001.py

index 4ec8d01881fd65347410ea0a35428285bdba48bc..b0a581d2e953dc6e71a0389601412b9a9511e4d8 100644 (file)
@@ -6,8 +6,8 @@ app = FastAPI()
 origins = [
     "http://localhost.tiangolo.com",
     "https://localhost.tiangolo.com",
-    "http:localhost",
-    "http:localhost:8080",
+    "http://localhost",
+    "http://localhost:8080",
 ]
 
 app.add_middleware(