Sha256: 598d5a88401a03bd3a3467eb0c7dcb7f8003e6b5def9c89f2aa43ba527c49d0f
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
require File.expand_path('config/environment', __dir__) <% if app_orm == 'activerecord' -%> use OTR::ActiveRecord::ConnectionManagement <% end -%> use Rack::Cors do allow do origins '*' resource '*', headers: :any, methods: [ :get, :post, :put, :delete, :options ] end end use Rack::Static, root: File.expand_path('./swagger-ui', __dir__), urls: ["/swagger"], index: 'index.html' run API::Base
Version data entries
4 entries across 4 versions & 1 rubygems