Update __init__.py

This commit is contained in:
ThatLukinhasGuy 2023-11-04 18:23:29 -03:00 committed by GitHub
parent 81bd9bab33
commit 1726bc723d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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