Closed gnomeontherun closed 9 years ago
Is it possible to implements CORS headers? It should only need one new header and it should be available put on all OPTIONS requests.
Access-Control-Allow-Origin: *
I'm not a ruby dev, but looking up how sinatra works something like this might do the trick.
options "/*" do headers["Access-Control-Allow-Origin"] = "*" end
done
Is it possible to implements CORS headers? It should only need one new header and it should be available put on all OPTIONS requests.
Access-Control-Allow-Origin: *