Activate strict CORS

This commit is contained in:
Marcel Schwarz 2021-01-17 15:38:31 +00:00
parent 2f9b7f48bc
commit 7695a6838f

View File

@ -13,9 +13,7 @@ app = FastAPI(
origins = [
"http://it-schwarz.net",
"https://it-schwarz.net",
"http://localhost",
"http://localhost:4200",
"https://it-schwarz.net"
]
app.add_middleware(