Compare commits

...

2 Commits

Author SHA1 Message Date
2e3404cfcf Merge pull request 'add backoffice' (#11) from hotfix/add-origins into master
Reviewed-on: #11
2024-05-29 23:37:56 +02:00
3f87083451 add backoffice 2024-05-29 23:36:11 +02:00

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 !"}