Skip to content

Commit

Permalink
Update RedisConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
don9m1n authored Apr 3, 2024
1 parent 9df0258 commit 868891a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
@EnableRedisRepositories
public class RedisConfig {

@Value("${spring.redis.host}")
@Value("${spring.data.redis.host}")
private String redisHost;

@Value("${spring.redis.port}")
@Value("${spring.data.redis.port}")
private int redisPort;

@Bean
Expand Down

0 comments on commit 868891a

Please sign in to comment.