webfinger/webfinger/__main__.py

7 lines
148 B
Python

"""
Run the FastAPI app with Uvicorn if the package is run as a module
"""
import uvicorn
from webfinger import app
uvicorn.run(app=app, port=7033)