Can the ASGI application be specified in the config file?
yrro opened this issue · comments
With gunicorn I found it quite useful to put wsgi_app = mypackage:create_app()
into gunicorn.conf.py
, that way running the server was as simple as running gunicorn
.
With hypercorn it would be useful to have an asgi_app
setting to do the same. That way, running my server would be as simple as running hypercorn -c hypercorn.conf.toml
.