Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint
This commit is contained in:
parent
b13e7dda1f
commit
448ab18a20
4 changed files with 14 additions and 17 deletions
2
Gemfile
2
Gemfile
|
@ -4,7 +4,6 @@ gem 'rails', '5.0.0.1'
|
|||
gem 'sass-rails', '~> 5.0'
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
gem 'coffee-rails', '~> 4.1.0'
|
||||
gem 'therubyracer', platforms: :ruby
|
||||
gem 'jquery-rails'
|
||||
gem 'jbuilder', '~> 2.0'
|
||||
gem 'sdoc', '~> 0.4.0', group: :doc
|
||||
|
@ -39,6 +38,7 @@ gem 'htmlentities'
|
|||
gem 'simple_form'
|
||||
gem 'will_paginate'
|
||||
gem 'rack-attack'
|
||||
gem 'rack-cors', require: 'rack/cors'
|
||||
gem 'sidekiq'
|
||||
gem 'ledermann-rails-settings'
|
||||
gem 'neography'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue