aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-26 11:25:44 +0300
committerGravatar Vitaly Takmazov2018-02-26 11:25:44 +0300
commitc6bc69cee51066ae2f153208bd995d43637223c9 (patch)
tree8a457c25a648ee247b75cf2a1034e733c68f31c6 /juick-server-jdbc/src/main/java/com
parent230cf552ce3f4a693d445e2e328975c699bf5f28 (diff)
cleanup hardcoded juick paths
Diffstat (limited to 'juick-server-jdbc/src/main/java/com')
-rw-r--r--juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
index bcce56ca..de8b256e 100644
--- a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -61,7 +61,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
private SearchService searchService;
@Inject
private ImagesService imagesService;
- @Value("${img_path:/var/www/juick.com/i/}")
+ @Value("${img_path:#{systemEnvironment['TEMP'] ?: '/tmp'}}")
private String imgDir;
@Value("${img_url:https://i.juick.com/}")
private String baseImagesUrl;