Skip to content

Commit fd1152c

Browse files
committed
Create redis.rb
1 parent c69842e commit fd1152c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/redis.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# https://devcenter.heroku.com/articles/connecting-heroku-redis#connecting-in-rails
2+
$redis = Redis.new(url: ENV["REDIS_URL"], ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })

0 commit comments

Comments
 (0)