Sha256: 9e343b642450066bdaa951c532f4b034a37a47f1912744bd232e8224f0bb82cd

Contents?: true

Size: 728 Bytes

Versions: 2

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

require_relative "production"

Rails.application.configure do
  config.enable_reloading = false

  config.assume_ssl = false
  config.force_ssl  = false

  # FIXME: Tags are not being reset right now
  config.log_tags = []

  if ENV["DEBUG"] == "1"
    config.consider_all_requests_local = true
    config.action_dispatch.show_exceptions = :none
    config.log_level = :debug
    config.logger = Logger.new($stdout)
  end

  config.cache_store = :memory_store
  config.active_job.queue_adapter = :inline
  config.action_mailer.delivery_method = :null

  if config.respond_to?(:active_storage)
    config.active_storage.variant_processor = :null
  end

  config.secret_key_base = "<change-me>"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasmify-rails-0.1.1 lib/generators/wasmify/install/templates/config/environments/wasm.rb
wasmify-rails-0.1.0 lib/generators/wasmify/install/templates/config/environments/wasm.rb