add backoffice #11

Merged
v4l3n71n merged 1 commits from hotfix/add-origins into master 2024-05-29 21:37:57 +00:00

View File

@ -11,8 +11,9 @@ app = FastAPI()
origins = [
"http://localhost:8084",
"https://backend.valczeryba.ovh",
"https://www.facebook.com",
"https://fetlife.com"
"https://facebook.com",
"https://fetlife.com",
"https://backoffice.valczeryba.ovh"
]
app.add_middleware(
@ -43,4 +44,4 @@ async def startup_event():
@app.get("/")
async def root():
return {"message": "Hello World !"}
return {"message": "Hello World !"}