jo / couchdb-cors-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CouchDB CORS Configuration

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.

About


Languages

Language:JavaScript 100.0%