https://kotlinlang.org logo
#ktor
Title
# 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
2 Views