CORS issue with PouchDB and Couch Sync Gateway

@giles

Can you post your Sync Gateway config file, it will make it easier to help debug your issue.