hypercorn icon indicating copy to clipboard operation
hypercorn copied to clipboard

Can the ASGI application be specified in the config file?

Open yrro opened this issue 1 year ago • 0 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.

yrro avatar May 12 '24 16:05 yrro