This commit is contained in:
Anthony Stirling
2025-01-04 12:30:58 +00:00
parent 73ac17942f
commit faecaf1ee4
3 changed files with 27 additions and 11 deletions

View File

@@ -80,6 +80,7 @@ public class SPdfApplication {
app.addInitializers(new ConfigInitializer());
Map<String, String> propertyFiles = new HashMap<>();
// External config files
log.info("Settings file: {}", InstallationPathConfig.getSettingsPath());
if (Files.exists(Paths.get(InstallationPathConfig.getSettingsPath()))) {
propertyFiles.put(
"spring.config.additional-location",