diff --git a/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java b/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java index e82e8f3f..e8433588 100644 --- a/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java +++ b/src/main/java/stirling/software/SPDF/config/ConfigInitializer.java @@ -70,7 +70,6 @@ public class ConfigInitializer if (!entry.isEmpty()) { // Check if this comment has been uncommented in userLines String key = entry.split(":")[0].trim(); - System.out.println("key=" + key + ", entry=" + entry ); addLine(resultLines, userLines, templateLine, key); } else { resultLines.add(templateLine); @@ -104,7 +103,6 @@ public class ConfigInitializer boolean added = false; int templateIndentationLevel = getIndentationLevel(templateLine); for (String settingsLine : userLines) { - if(settingsLine.contains("oauth2") || settingsLine.contains("enabled") ) if (settingsLine.trim().startsWith(key + ":")) { int settingsIndentationLevel = getIndentationLevel(settingsLine); // Check if it is correct settingsLine and has the same parent as templateLine diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index 9f78c128..24e7472f 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -219,10 +219,10 @@ th:replace="~{fragments/card :: card(id='split-pdf-by-sections', cardTitle=#{home.split-by-sections.title}, cardText=#{home.split-by-sections.desc}, cardLink='split-pdf-by-sections', toolIcon='grid_on', tags=#{split-by-sections.tags}, toolGroup='advance')}">