Matthew Browning
05/14/2019, 5:49 PMval config = HoconApplicationConfig(ConfigFactory.load())
but that seems to only load the application.conf from resources. Is there a way to get that sort of functionality but also have it work when supplying a conf file using the -config=application-prod.conf
argument when running the server? If anyone would be willing to steer me in the right direction, I’d highly appreciate it. Thanks!fred.deschenes
05/14/2019, 6:49 PMenvironment.config
property in my Application.main()
function to get a reference to the loaded configuration and then injected this in my resources, I guess something like this should still workmp
05/14/2019, 7:19 PMMatthew Browning
05/15/2019, 8:54 PMmp
05/15/2019, 8:54 PM