Merge pull request #546 from trifork/feat/static-hosting-additions

Feat/static hosting additions
This commit is contained in:
Patrick Werner
2023-08-22 10:40:32 +02:00
committed by GitHub
3 changed files with 35 additions and 12 deletions

View File

@@ -78,6 +78,8 @@ public class AppProperties {
private String staticLocation = null;
private String staticLocationPrefix = "/static";
private Boolean lastn_enabled = false;
private boolean store_resource_in_lucene_index_enabled = false;
private NormalizedQuantitySearchLevel normalized_quantity_search_level = NormalizedQuantitySearchLevel.NORMALIZED_QUANTITY_SEARCH_NOT_SUPPORTED;
@@ -91,7 +93,16 @@ public class AppProperties {
private final List<String> custom_interceptor_classes = new ArrayList<>();
public List<String> getCustomInterceptorClasses() {
public String getStaticLocationPrefix() {
return staticLocationPrefix;
}
public void setStaticLocationPrefix(String staticLocationPrefix) {
this.staticLocationPrefix = staticLocationPrefix;
}
public List<String> getCustomInterceptorClasses() {
return custom_interceptor_classes;
}