Sha256: d8d722c7becc7a99b547f577522f37d70a752469f1069d65e0caaf4133f8b8f5
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
Grape::App.configure do |config| # Force SSL, please see https://github.com/tobmatth/rack-ssl-enforcer # for configuration options. # # config.force_ssl = { strict: true } # CORS is disabled by default, please see https://github.com/cyu/rack-cors # for configuration options. # # config.cors do # allow do # origins '*' # resource '*', headers: :any, methods: [:get, :post, :options] # end # end # Enable custom middleware: # # config.middleware do # use Rack::ETag # insert_before Rack::Cors, Rack::ContentLength # end # Don't raise errors on missing translations # config.raise_on_missing_translations = false end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-app-0.8.8 | lib/grape/app/templates/config/environments/production.rb |
grape-app-0.8.7 | lib/grape/app/templates/config/environments/production.rb |