diff options
author | 2017-11-29 22:22:23 +0300 | |
---|---|---|
committer | 2017-11-29 19:41:55 +0000 | |
commit | 913585a8f7171849bc803e9d7bb1ba6f0ff05d84 (patch) | |
tree | df61d71b750ae4687e58f9f0712593c60f38eef5 /juick-www/src/main/java/com/juick/www/configuration | |
parent | a32e22d8d8f2bd2dbfde1c066780556d6e1e0026 (diff) |
www: purge avatar cache from Cloudflare
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/configuration')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java b/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java index d79ae636..205c0627 100644 --- a/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java +++ b/juick-www/src/main/java/com/juick/www/configuration/WwwAppConfiguration.java @@ -19,6 +19,7 @@ package com.juick.www.configuration; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; +import com.juick.service.CloudflareCache; import com.juick.service.TagService; import com.juick.service.UserService; import com.juick.www.HelpService; @@ -93,5 +94,9 @@ public class WwwAppConfiguration { }) .build(); } + @Bean + public CloudflareCache cloudflareCache() { + return new CloudflareCache(); + } } |