These are chat archives for opal/opal
HTTP.postcalls working, it wants to send preflight OPTIONS calls, and Sinatra isn't set up to handle them. Has anyone figured out how to get opal-jquery to not send those?
options '*' do response['Access-Control-Allow-Origin'] = '*' response['Access-Control-Allow-Methods'] = 'POST' response['Access-Control-Allow-Headers'] = 'Content-Type' '' end
rack-corsgem if you want to customize your CORS preflights.