Activate strict CORS
This commit is contained in:
parent
2f9b7f48bc
commit
7695a6838f
@ -13,9 +13,7 @@ app = FastAPI(
|
|||||||
|
|
||||||
origins = [
|
origins = [
|
||||||
"http://it-schwarz.net",
|
"http://it-schwarz.net",
|
||||||
"https://it-schwarz.net",
|
"https://it-schwarz.net"
|
||||||
"http://localhost",
|
|
||||||
"http://localhost:4200",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
|
Loading…
Reference in New Issue
Block a user