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

Support for multiple rings #47

Closed
derrotebaron opened this issue Sep 14, 2012 · 2 comments
Closed

Support for multiple rings #47

derrotebaron opened this issue Sep 14, 2012 · 2 comments
Labels

Comments

@derrotebaron
Copy link

Currently you can only define one ring in project.clj:

    :ring {:handler server/handler}

It would be nice to be able to define multiple rings like this:

    :ring [{:handler server/handler} {:handler backend/handler}]
@weavejester
Copy link
Owner

How would "lein ring server" decide which handler to run?

If by name, then couldn't profiles fulfil the same purpose?

@weavejester
Copy link
Owner

Closed, because Leiningen 2 can do this with profiles.

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

No branches or pull requests

2 participants