aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/juick/www/api/apple/AppSiteAssociation.java4
-rw-r--r--src/main/resources/application.properties5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java b/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java
index 2acd559e..c0827003 100644
--- a/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java
+++ b/src/main/java/com/juick/www/api/apple/AppSiteAssociation.java
@@ -25,6 +25,8 @@ import org.springframework.web.bind.annotation.RestController;
import java.util.Collections;
import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
@RestController
public class AppSiteAssociation {
@Value("${ios_app_id:}")
@@ -43,6 +45,7 @@ public class AppSiteAssociation {
private class SiteAssociations {
private WebCredentials webcredentials;
+ @JsonProperty
public WebCredentials getWebcredentials() {
return webcredentials;
}
@@ -55,6 +58,7 @@ public class AppSiteAssociation {
private class WebCredentials {
private List<String> apps;
+ @JsonProperty
public List<String> getApps() {
return apps;
}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 28ad8430..60bf2021 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,9 +1,8 @@
server.servlet.session.tracking-modes=cookie
-spring.jackson.default-property-inclusion=non_default
+spring.jackson.default-property-inclusion=non-default
spring.jackson.serialization.write-dates-as-timestamps=false
spring.jackson.serialization.write-empty-json-arrays=true
spring.h2.console.enabled=true
spring.datasource.generate-unique-name=false
spring.datasource.platform=h2
-management.endpoints.web.exposure.include=*
-management.security.roles=ROLE_ADMIN
+