adding gem 'rack-cors', :require => 'rack/cors'