Skip to content

Commit fb4d904

Browse files
committed
redis密码获取错误bug的修改
1 parent 208da23 commit fb4d904

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/redis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ test:
1515
production:
1616
<<: *base
1717
port: 6378
18-
password: <%= Rails.application.credentials[:redis_password] %>
18+
password: <%= Rails.application.credentials[Rails.env.to_sym][:redis_password] %>

0 commit comments

Comments
 (0)