Passenger On Board
7. April 2012
In my first approach I was running the Sinatra app for the REST API of my blog (for ratings etc.) from command line. This has the drawback that the HTTP daemon integrated in Sinatra listens on a different port than the rest of the blog. This leads to same origin problems when ajaxing the REST API. To circumvent this I’ve used a small proxy script as a workaround. But now I’ve found Passenger (aka.…