CouchDB CORS Configuration

June 10, 2015 ยท View on GitHub

This repository hosts a single JSON file holding the required CORS configuration settings, which have been taken from pouchdb/add-cors-to-couchdb

You can push the configuration to CouchDB via couchdb-configure:

Installation

npm install --global couchdb-configure

Push Configuration

couchdb-configure http://localhost:5984 _config.json

You can also include this file in your project as part of a couchdb-bootstrap directory.

Contents

  1. 1Installation
  2. 2Push Configuration