Remi
05/15/2023, 8:43 PMktor {
deployment {
port = 8080
}
application {
modules = [ com.app.ApplicationKt.module ]
}
jwt {
secret = ${?JWT_SECRET}
issuer = ${?JWT_ISSUER}
validity_ms = ${?JWT_VALIDITY}
}
mongo {
uri = ${?MONGO_URI}
}
}
secret = ${?JWT_SECRET})
) but then I need to collect all the values in Application.kt and dispatch them everywhere in the app. Or should I directly get them where they are needed (like JWT Service creation) without using application.conf.Sergey Aldoukhov
05/15/2023, 9:48 PM