Join Slack
Coming Ruby Rails where I can use the `dotenv` gem to store environment variables in a `.env` file t...
# ktor
h
hates
12/27/2018, 9:58 AM
Coming Ruby Rails where I can use the
dotenv
gem to store environment variables in a
.env
file then override them on the server with proper env variables, is there a good alternative for Kotlin/Ktor? Or a standard way of achieving the same thing?
e
enleur
12/27/2018, 10:35 AM
you can define in your app.conf default params like in
.env
https://ktor.io/servers/configuration/environments.html#proposal
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by