You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Igor Bochkariov edited this page Sep 22, 2013
·
1 revision
To be able to receive XMLHttpRequest requests rack should be properly configured.
In Padrino this could be done with https://github.com/cyu/rack-cors and adding to your app.rb:
useRack::Corsdoallowdo# put real origins hereorigins'*'# and configure real resources hereresource'*',:headers=>:any,:methods=>[:get,:post,:options]endend