Sha256: 9a3ff923eb11c264ff37da7d76148e342768e7e3d2c9788a84fd3781795a5ed6
Contents?: true
Size: 378 Bytes
Versions: 21
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true module NeetoCommonsBackend module Initializers class << self def cors Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins "*" resource "*", headers: :any, methods: %i[get post put patch delete options head] end end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems