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:45:12 +06:00
parent d38cc27033
commit b898fd915d

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", "185.139.70.62"], port=8080, reload=True) config = uvicorn.Config(app, host=["localhost", "185.139.70.62", "46.233.242.206"], port=8080, reload=True)
server = uvicorn.Server(config) server = uvicorn.Server(config)
try: try:
await server.serve() await server.serve()