Join Slack
Powered by
I am wondering How can I pass Environment setting ...
# http4k
m
Mehdi
09/21/2020, 2:06 PM
I am wondering How can I pass Environment setting to a http4k application using gadlew?
Mehdi
09/21/2020, 3:00 PM
btw How can I switch to Environment.defaults() if no env has been provided? I mean something similar to Spring Boot properties app.foo=${BAR_ENV:foo}
d
dave
09/21/2020, 4:30 PM
You need to provide an Environment. There are functions on the companion object to give you these
dave
09/21/2020, 4:31 PM
(Environment.ENV imwill pick up from the local environment)
Open in Slack
Previous
Next