1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-23 22:28:12 +06:00
parent 12c6108f47
commit c36d9c0758

View File

@@ -17,7 +17,7 @@ async def run_bot():
async def run_api(): async def run_api():
"""Run FastAPI application""" """Run FastAPI application"""
config = uvicorn.Config(app, host="localhost", port=8080, reload=True) config = uvicorn.Config(app, host=["localhost", "185.139.70.62"], port=8080, reload=True)
server = uvicorn.Server(config) server = uvicorn.Server(config)
try: try:
await server.serve() await server.serve()