Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546require_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 SplitsIo class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 6.0
config.autoload_paths << Rails.root.join("lib") config.eager_load_paths << Rails.root.join("lib")
config.action_controller.allow_forgery_protection = false config.active_job.queue_adapter = :delayed_job
config.generators do |g| g.orm :active_record, primary_key_type: :uuid end
config.to_prepare do Doorkeeper::AuthorizationsController.layout "application" end
config.action_cable.disable_request_forgery_protection = true config.action_cable.url = "/api/cable" config.action_cable.mount_path = "/api/cable"
config.active_storage.variant_processor = :vips
config.load_defaults 6.1 # TODO: Bump below (NOT above) to 7.0 after 6.1 is fully deployed to all boxes in prod once. config.active_support.cache_format_version = 6.1
config.active_storage.variant_processor = :vips
# Please, add to the `ignore` list any other `lib` subdirectories that do # not contain `.rb` files, or that should not be reloaded or eager loaded. # Common ones are `templates`, `generators`, or `middleware`, for example. config.autoload_lib(ignore: %w(assets tasks)) endend