forked from polka_billy/porridger
Many to many relationship between user and announcement tables implemented, book endpoint changed accordingly
This commit is contained in:
@ -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())
|
||||
|
Reference in New Issue
Block a user