Sha256: bf88c91fcb1b88f75a32a7c4a898294a0eb56484f9acf3cb90c292fddc8a56dc
Contents?: true
Size: 425 Bytes
Versions: 4
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true # This file is used by Rack-based servers to start the application. require ::File.expand_path('config/environment', __dir__) run Rails.application # allow cross origin requests require 'rack/cors' use Rack::Cors do allow do origins '*' resource '*', headers: :any, expose: %w[access-token], methods: %i[get post options delete put] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
devise_jwt_auth-0.4.1 | test/dummy/config.ru |
devise_jwt_auth-0.4.0 | test/dummy/config.ru |
devise_jwt_auth-0.3.0 | test/dummy/config.ru |
devise_jwt_auth-0.2.0 | test/dummy/config.ru |