Skip to content

Commit

Permalink
fix: Add preview reference to the createClient
Browse files Browse the repository at this point in the history
  • Loading branch information
trodrigues committed May 13, 2016
1 parent d217054 commit 96561eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/contentful.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import createCdaApi from './create-cda-api'
* @prop {string} params.space - Space ID
* @prop {string} params.accessToken - Contentful CDA Access Token
* @prop {boolean=} params.insecure - Requests will be made over http instead of the default https (default: true)
* @prop {string=} params.host - API host (default: cda.contentful.com)
* @prop {string=} params.host - API host (default: cda.contentful.com). Also usable with preview.contentful.com.
* @prop {Object=} params.agent - Optional Node.js HTTP agent for proxying (see <a href="https://nodejs.org/api/http.html#http_class_http_agent">Node.js docs</a> and <a href="https://www.npmjs.com/package/https-proxy-agent">https-proxy-agent</a>)
* @prop {Object=} params.headers - Optional additional headers
* @returns {CDAClient.ClientAPI}
Expand Down

0 comments on commit 96561eb

Please sign in to comment.