mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-06 18:30:57 +00:00
Update ApplicationPorperties to reflect settings schema changes
This commit is contained in:
parent
ab880eeeb4
commit
088f95d0e5
@ -290,19 +290,13 @@ public class ApplicationProperties {
|
|||||||
private Boolean disableSanitize;
|
private Boolean disableSanitize;
|
||||||
private Boolean enableUrlToPDF;
|
private Boolean enableUrlToPDF;
|
||||||
private CustomPaths customPaths = new CustomPaths();
|
private CustomPaths customPaths = new CustomPaths();
|
||||||
private UploadLimit uploadLimit = new UploadLimit();
|
private String fileUploadLimit;
|
||||||
|
|
||||||
public boolean isAnalyticsEnabled() {
|
public boolean isAnalyticsEnabled() {
|
||||||
return this.getEnableAnalytics() != null && this.getEnableAnalytics();
|
return this.getEnableAnalytics() != null && this.getEnableAnalytics();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
|
||||||
public static class UploadLimit {
|
|
||||||
private Boolean enableUploadSizeLimit;
|
|
||||||
private String limit;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public static class CustomPaths {
|
public static class CustomPaths {
|
||||||
private Pipeline pipeline = new Pipeline();
|
private Pipeline pipeline = new Pipeline();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user