https://kotlinlang.org logo
#ktor
Title
# ktor
s

Szymon Lipiński

10/06/2019, 7:42 PM
What's the proper way to write the hocon configuration file, configure production server based on an external file with a modified data, and also use a local file to run in intellij with autoreloading? Whatever I do, it doesn't work, any working example would be great.
It looks like the simplest way would be to use the resources/application.conf file with hardcoded values for development. Then I can run the app with
java -jar x-all.jar -config=production_application.conf
.
56 Views