Sha256: 481ab23d488c6c5bd97d01ef6d5b54579a501ba8d58f0689179e2866b6ec1d0f

Contents?: true

Size: 377 Bytes

Versions: 12

Compression:

Stored size: 377 Bytes

Contents

# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run Rails.application

require 'rack/cors'

use Rack::Cors do
  allow do
    origins '*'
    resource '*',
      :headers => :any,
      :methods => [:get, :post, :delete, :put, :options],
      expose: %w(X-Server-Date X-Server-Epoch)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
introspective_grape-0.6.1 spec/dummy/config.ru
introspective_grape-0.5.7 spec/dummy/config.ru
introspective_grape-0.5.6 spec/dummy/config.ru
introspective_grape-0.5.5 spec/dummy/config.ru
introspective_grape-0.5.4 spec/dummy/config.ru
introspective_grape-0.5.2 spec/dummy/config.ru
introspective_grape-0.5.0 spec/dummy/config.ru
introspective_grape-0.4.3 spec/dummy/config.ru
introspective_grape-0.4.2 spec/dummy/config.ru
introspective_grape-0.4.1 spec/dummy/config.ru
introspective_grape-0.4.0 spec/dummy/config.ru
introspective_grape-0.3.9 spec/dummy/config.ru