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