diff --git a/services/contentful.js b/services/contentful.js index 54038f8..29aa993 100644 --- a/services/contentful.js +++ b/services/contentful.js @@ -10,10 +10,12 @@ exports.initClient = (options) => { cpa: process.env.CF_PREVIEW_ACCESS_TOKEN } cdaClient = createClient({ + application: 'contentful.the-example-app.node', space: config.space, accessToken: config.cda }) cpaClient = createClient({ + application: 'contentful.the-example-app.node', space: config.space, accessToken: config.cpa, host: 'preview.contentful.com'