Skip to content
Snippets Groups Projects
Commit af60cce0 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Changed FileSystemResource path for properties file

parent daf52e86
Branches
Tags
No related merge requests found
......@@ -32,7 +32,7 @@ public class ExtraConfig {
final PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
configurer.setLocations(new Resource[] {
new ClassPathResource("arsnova.properties.example"),
new FileSystemResource("file:///etc/arsnova/arsnova.properties"),
new FileSystemResource("/etc/arsnova/arsnova.properties"),
});
configurer.setIgnoreResourceNotFound(true);
configurer.setIgnoreUnresolvablePlaceholders(false);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment