aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/service/CloudflareCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com/juick/service/CloudflareCache.java')
-rw-r--r--juick-www/src/main/java/com/juick/service/CloudflareCache.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-www/src/main/java/com/juick/service/CloudflareCache.java b/juick-www/src/main/java/com/juick/service/CloudflareCache.java
index 00e1f684..5046f692 100644
--- a/juick-www/src/main/java/com/juick/service/CloudflareCache.java
+++ b/juick-www/src/main/java/com/juick/service/CloudflareCache.java
@@ -18,11 +18,11 @@ import java.util.Collections;
public class CloudflareCache implements ApplicationListener<UserUpdatedEvent> {
private static final Logger logger = LoggerFactory.getLogger(CloudflareCache.class);
- @Value("${cloudflare_auth_email}")
+ @Value("${cloudflare_auth_email:email@example.com}")
private String authEmail;
- @Value("${cloudflare_api_key}")
+ @Value("${cloudflare_api_key:secret}")
private String apiKey;
- @Value("${cloudflare_zone_id}")
+ @Value("${cloudflare_zone_id:zoneid}")
private String zoneId;
private final static String baseUri = "https://api.cloudflare.com/client/v4";
@Override