Allowed all origins

This commit is contained in:
Yarne Coppens 2024-10-17 09:54:49 +02:00
parent 9f5aa4a927
commit 3d9027c159

View file

@ -49,8 +49,7 @@ async def lifespan(app: FastAPI):
app = FastAPI(lifespan=lifespan)
origins = [
"http://127.0.0.1:8080",
"http://0.0.0.0:8080" #Will become something like 'bordspellen2.yarnecoppens.com'
"*"
]
app.add_middleware(