Skip to content

Commit

Permalink
Add redis.rb and update maintenance page
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorreem committed Oct 25, 2024
1 parent 8a6b4c5 commit 314b732
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/views/errors/internal_server_error.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@
<div class="container-fluid col-text">
<div class="py-3 px-lg-5 col-12">
<p class="lead text-center">
It might take a while but we will be back soon! In the meantime, head back to the <a href="https://soulmedicine.io" target="_blank">Soulmedicine Homepage</a> or to the <a href="https://chayn.co" target="_blank">Chayn Homepage</a> if you feel this is an error let us know at <i>team at soulmedicine.io</i>
</p>
It might take a while but we will be back soon!

In the meantime, head back to the <a href="https://soulmedicine.io" target="_blank">Soulmedicine Homepage</a>.

If that doesn't work and for further resources, please head to our other resources:</p>

<ol>
<li> <a href="https://chayn.co" target="_blank">Chayn's Main Site</a> for a full list of resources</li>
<li> <a href="https://chayn.co" target="_blank">Bloom</a> for free multi-lingual support on your healing journey</li>
</ol>

<p>If you feel this is an error let us know at <i>team at chayn.co</i></p>
</div>
</div>
1 change: 1 addition & 0 deletions config/initializers/redis.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$redis = Redis.new(url: ENV['REDIS_URL'], ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })

Check failure on line 1 in config/initializers/redis.rb

View workflow job for this annotation

GitHub Actions / Ruby Linting

Style/GlobalVars: Do not introduce global variables. (https://rubystyle.guide#instance-vars, https://www.zenspider.com/ruby/quickref.html)

0 comments on commit 314b732

Please sign in to comment.