mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 21:16:45 +00:00
✏️ Fix protocol separator typo (#647)
This commit is contained in:
parent
23459d4a35
commit
7781cc0936
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ app = FastAPI()
|
||||||
origins = [
|
origins = [
|
||||||
"http://localhost.tiangolo.com",
|
"http://localhost.tiangolo.com",
|
||||||
"https://localhost.tiangolo.com",
|
"https://localhost.tiangolo.com",
|
||||||
"http:localhost",
|
"http://localhost",
|
||||||
"http:localhost:8080",
|
"http://localhost:8080",
|
||||||
]
|
]
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue