Uncategorized

Custom configuration in Play Framework

FavoriteLoadingAdd to favorites

In our Play! applications, we often want to be able to enable or disable features for specific environments. We decided to take a simple approach to this: a config file on the filesystem. Play provides the onLoadConfig method in the global which you can override to modify the config before your application starts. Here’s an example of how we use…
Original post: Custom configuration in Play Framework
Source: Kifi