Activate strict CORS
This commit is contained in:
parent
2f9b7f48bc
commit
7695a6838f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user