This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trusted_proxies = ["52.84.0.0/15", | |
| "54.182.0.0/16", | |
| "54.192.0.0/16", | |
| "54.230.0.0/16", | |
| "54.239.128.0/18", | |
| "54.239.192.0/19", | |
| "54.240.128.0/18", | |
| "204.246.164.0/22", | |
| "204.246.168.0/22", | |
| "204.246.174.0/23", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # config/initializers/aws-sdk.rb | |
| require "aws-sdk" | |
| # Threading in modern rails means the AWS autoloading can lead to partially | |
| # loaded namespaces unless we eager load up front. But only do it when we're | |
| # eager loading generally (in production). | |
| Rails.application.config.before_eager_load do | |
| Aws.eager_autoload! | |
| end |
OlderNewer