1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-27 20:39:19 +00:00
thatmattlove-hyperglass/hyperglass/web.py
2020-01-20 00:32:42 -07:00

12 lines
226 B
Python

"""hyperglass web app initiator."""
def start():
"""Start the web server with Uvicorn ASGI."""
import uvicorn
from hyperglass.hyperglass import app, APP_PARAMS
uvicorn.run(app, **APP_PARAMS)
app = start()