Sha256: c61e78e8781f76b50ac9976f8d1235be0cd81cec307405f26bcec610547cf969

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

Rails.application.config.middleware.insert_before 0, Rack::Cors do
	allow do
	  origins '*'
      
	  resource '*',
	    headers: :any,
	    methods: [:get, :post, :put, :patch, :delete, :options, :head]
	end
      end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
canvas-embed-0.1.4 example/config/initializers/cors.rb