mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2025-03-04 02:33:06 +08:00
7 lines
200 B
Python
7 lines
200 B
Python
import uvicorn
|
|
|
|
from api.core.app import app # noqa: F401
|
|
from api.core.config import settings
|
|
|
|
if __name__ == '__main__':
|
|
uvicorn.run('main:app', host=settings.API_HOST, port=settings.API_PORT)
|