main
1# frozen_string_literal: true
2
3config = Rails.application.config
4config.generators do |g|
5 g.orm :active_record, primary_key_type: :uuid
6end
7if ENV['JWT_PRIVATE_KEY'].present?
8 config.x.jwt.private_key = OpenSSL::PKey::RSA.new(ENV['JWT_PRIVATE_KEY'])
9else
10 config.x.jwt.private_key = OpenSSL::PKey::RSA.new(4096)
11end
12
13I18n.available_locales = [:en, :es, :fr, :ja, :ko]
14I18n.default_locale = :en