2022-12-26 00:32:57 +00:00
|
|
|
"""
|
|
|
|
Run the FastAPI app with Uvicorn if the package is run as a module
|
|
|
|
"""
|
2022-12-07 05:56:38 +00:00
|
|
|
import uvicorn
|
2022-12-26 00:32:57 +00:00
|
|
|
from webfinger import app
|
2022-12-07 05:56:38 +00:00
|
|
|
|
|
|
|
uvicorn.run(app=app, port=7033)
|