Closed devth closed 9 years ago
This allows lein-ring to set the Ring settings for both uberjar and uberwar profiles if I recall correctly.
Ah, that makes sense. I thought it wasn't being picked up because I tried putting :port 8080
in :production {:ring ..}
but ring still used port 3000. I also tried putting the :port
setting in the :uberjar
profile with no luck, so must be another problem.
https://github.com/reagent-project/reagent-template/blob/master/src/leiningen/new/reagent/project.clj#L76-78
This was misleading to me: I assumed when I compiled my app for production using
lein ring uberjar
the production profile would be active, but it's not. Is there another purpose? Otherwise, thesering
settings should just be moved into theuberjar
profile.