30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
require_relative "boot"
|
|
require "rails/all"
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(*Rails.groups)
|
|
|
|
module ReduxScraper
|
|
class Application < Rails::Application
|
|
config.session_store :cookie_store, key: "_refurrer_session"
|
|
config.assets.precompile << "delayed/web/application.css"
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 7.0
|
|
config.active_record.legacy_connection_handling = false
|
|
config.autoload_paths << config.root.join("app/lib")
|
|
|
|
# all environments use good_job (in external execution mode)
|
|
config.active_job.queue_adapter = :good_job
|
|
|
|
# Configuration for the application, engines, and railties goes here.
|
|
#
|
|
# These settings can be overridden in specific environments using the files
|
|
# in config/environments, which are processed later.
|
|
#
|
|
config.time_zone = "Pacific Time (US & Canada)"
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
|
config.x.cookies.fa = ReduxScraper::Application.config_for("cookies/fa")
|
|
end
|
|
end
|