mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
13 lines
228 B
Python
13 lines
228 B
Python
"""hyperglass web app initiator."""
|
|
|
|
|
|
def start():
|
|
"""Start the web server with Uvicorn ASGI."""
|
|
import uvicorn
|
|
from hyperglass.hyperglass import app, ASGI_PARAMS
|
|
|
|
uvicorn.run(app, **ASGI_PARAMS)
|
|
|
|
|
|
app = start()
|