diff options
author | Vitaly Takmazov | 2018-02-26 11:25:44 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-26 11:25:44 +0300 |
commit | c6bc69cee51066ae2f153208bd995d43637223c9 (patch) | |
tree | 8a457c25a648ee247b75cf2a1034e733c68f31c6 /juick-server-jdbc/src/main | |
parent | 230cf552ce3f4a693d445e2e328975c699bf5f28 (diff) |
cleanup hardcoded juick paths
Diffstat (limited to 'juick-server-jdbc/src/main')
-rw-r--r-- | juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
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; |