Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the ASGI application be specified in the config file? #229

Open
yrro opened this issue May 12, 2024 · 0 comments
Open

Can the ASGI application be specified in the config file? #229

yrro opened this issue May 12, 2024 · 0 comments

Comments

@yrro
Copy link

yrro commented May 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant