Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
2e3404cfcf | |||
3f87083451 | |||
a4e263f4cd | |||
8777a690e0 | |||
195406d1bb | |||
fc2c6fdbd8 | |||
5f9c3c32c6 | |||
8f31746c68 |
@@ -10,6 +10,10 @@ app = FastAPI()
|
|||||||
|
|
||||||
origins = [
|
origins = [
|
||||||
"http://localhost:8084",
|
"http://localhost:8084",
|
||||||
|
"https://backend.valczeryba.ovh",
|
||||||
|
"https://facebook.com",
|
||||||
|
"https://fetlife.com",
|
||||||
|
"https://backoffice.valczeryba.ovh"
|
||||||
]
|
]
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
@@ -40,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 !"}
|
||||||
|
Reference in New Issue
Block a user