add backoffice

This commit is contained in:
Valentin CZERYBA 2024-05-29 23:36:11 +02:00
parent 8777a690e0
commit 3f87083451

View File

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