Many to many relationship between user and announcement tables implemented, book endpoint changed accordingly

This commit is contained in:
2024-08-13 15:48:13 +03:00
parent c0229d6727
commit af9aa243bf
5 changed files with 121 additions and 19 deletions

View File

@ -21,7 +21,7 @@ async def main():
await init_models()
server = Server(config=uvicorn.Config(app_fastapi, workers=1, loop="asyncio", host="0.0.0.0"))
server = Server(config=uvicorn.Config(app_fastapi, workers=1, loop="asyncio", host="127.0.0.1"))
api = asyncio.create_task(server.serve())
sched = asyncio.create_task(app_rocketry.serve())