From 314b732b4ccf979934c8847dfbdb93f45d4dfa2c Mon Sep 17 00:00:00 2001 From: Ellie Re'em Date: Fri, 25 Oct 2024 12:20:26 +0200 Subject: [PATCH] Add redis.rb and update maintenance page --- app/views/errors/internal_server_error.html.erb | 14 ++++++++++++-- config/initializers/redis.rb | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 config/initializers/redis.rb diff --git a/app/views/errors/internal_server_error.html.erb b/app/views/errors/internal_server_error.html.erb index 5ca2735b..c4a8a92c 100644 --- a/app/views/errors/internal_server_error.html.erb +++ b/app/views/errors/internal_server_error.html.erb @@ -8,7 +8,17 @@

- It might take a while but we will be back soon! In the meantime, head back to the Soulmedicine Homepage or to the Chayn Homepage if you feel this is an error let us know at team at soulmedicine.io -

+ It might take a while but we will be back soon! + + In the meantime, head back to the Soulmedicine Homepage. + + If that doesn't work and for further resources, please head to our other resources:

+ +
    +
  1. Chayn's Main Site for a full list of resources
  2. +
  3. Bloom for free multi-lingual support on your healing journey
  4. +
+ +

If you feel this is an error let us know at team at chayn.co

diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb new file mode 100644 index 00000000..0ad0e8c4 --- /dev/null +++ b/config/initializers/redis.rb @@ -0,0 +1 @@ +$redis = Redis.new(url: ENV['REDIS_URL'], ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })