diff --git a/src/main/java/io/github/bonigarcia/wdm/WdmConfig.java b/src/main/java/io/github/bonigarcia/wdm/WdmConfig.java index 9f6782b74..70c05efbf 100644 --- a/src/main/java/io/github/bonigarcia/wdm/WdmConfig.java +++ b/src/main/java/io/github/bonigarcia/wdm/WdmConfig.java @@ -31,8 +31,10 @@ public class WdmConfig { private static WdmConfig instance; private Config conf; + public static final String propertyFileName = System.getProperty("wdm.prop.filename","application.properties"); + protected WdmConfig() { - conf = ConfigFactory.load(); + conf = ConfigFactory.load(propertyFileName); } public static synchronized WdmConfig getInstance() {