Update __init__.py

This commit is contained in:
ThatLukinhasGuy 2023-11-04 18:19:30 -03:00 committed by GitHub
parent 1375a74089
commit 81bd9bab33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,4 +159,4 @@ class Api:
def run(self, ip, thread_quantity):
split_ip = ip.split(":")
uvicorn.run(self.app, host=split_ip[0], port=int(split_ip[1]), use_colors=False, workers=thread_quantity)
uvicorn.run("__init__:app", host=split_ip[0], port=int(split_ip[1]), use_colors=False, workers=thread_quantity)