Mercurial > rsstweet
view config/initializers/00rsstweet.rb @ 263:2fc76c51e184 default tip
Remove the RT_ env prefix
author | nanaya <me@nanaya.net> |
---|---|
date | Mon, 16 Dec 2024 01:41:44 +0900 |
parents | cd927bb7dc0d |
children |
line wrap: on
line source
require_relative "../config_init" # this isn't actually used but railties *production* checks this variable during boot. Rails.application.config.secret_key_base = "herp a derp" Rails.application.config.middleware.delete ActionDispatch::HostAuthorization Rails.application.config.middleware.delete ActionDispatch::Cookies Rails.application.config.middleware.delete ActionDispatch::ContentSecurityPolicy::Middleware Rails.application.config.middleware.delete ActionDispatch::PermissionsPolicy::Middleware Rails.application.config.middleware.delete ActionDispatch::RemoteIp Rails.application.config.session_store :disabled if $cfg[:redis_server] Rails.application.config.cache_store = :redis_cache_store, { url: "#{$cfg[:redis_server]}" } end