title: How do I avoid cross-domain issues accessing node.js using AJAX?
body: <p>I am using node.js with express, jade and sass for my application. I have a couchdb database and I would like to use this using AJAX. Normally, to access couchdb with AJAX you would create a document in the database and attach the html file to it, so that it is served from the same domain. However, most of the site will be generated using templates served by node.js, which means being served from a different domain to couchdb's server. How do I get round this?</p>