Sha256: 17ef5f2ed22c4f6bdd98eed80d24b89166989db879f3107384bfab1ad956da4a

Contents?: true

Size: 149 Bytes

Versions: 3

Compression:

Stored size: 149 Bytes

Contents

# frozen_string_literal: true

require 'rack/cors'

use Rack::Cors do
  allow do
    origins '*'
    resource '/public', credentials: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-cors-2.0.1 test/unit/insecure.ru
rack-cors-2.0.0 test/unit/insecure.ru
rack-cors-2.0.0.rc1 test/unit/insecure.ru