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 = [ 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(