Sha256: fbe13227f6f93f400ae08a487d7aae0bc9e8046b84173be6dbe92cc7bbd7654e

Contents?: true

Size: 701 Bytes

Versions: 158

Compression:

Stored size: 701 Bytes

Contents

JetsRails.stage = ENV['JETS_STAGE'] || 'dev' # for jets-rails StageMiddleware

# config/s3_base_url.txt is generated as part of jets build process
s3_base_url = IO.read("#{Rails.root}/config/s3_base_url.txt").strip rescue "s3_base_url_placeholder"
asset_host = "#{s3_base_url}/rack/public"
Rails.application.config.action_controller.asset_host = asset_host
Rails.application.config.public_file_server.enabled = true

<% unless @api_mode -%>
# Rails.application.config.assets.quiet = false
Rails.application.config.assets.debug = false
Rails.application.config.assets.compile = false
<% end -%>

# Looks better without colorizatiion in CloudWatch logs
Rails.application.config.colorize_logging = false

Version data entries

158 entries across 158 versions & 4 rubygems

Version Path
jets-4.0.12 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.11 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.10 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.9 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.8 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.7 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.6 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.5 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.4 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.3 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.2 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.1 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-4.0.0 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.2.2 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.2.1 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.2.0 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.1.5 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.1.4 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
jets-3.1.3 lib/jets/builders/reconfigure_rails/config/initializers/jets.rb