about summary refs log tree commit diff
path: root/Gemfile
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-09 18:06:01 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-09 18:06:01 +0100
commit448ab18a201c902b4e7a1aa468c352c20d034989 (patch)
tree5c33573bac66ded15ed009de707da3e64aeffd7c /Gemfile
parentb13e7dda1f33be43d1667b754b67df71f3187a5c (diff)
Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 7eab0a5bb..a3d5cdd45 100644
--- a/Gemfile
+++ b/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'