add application tracking to X-Contentful-User-Agent
This commit is contained in:
committed by
Benedikt Rötsch
parent
5e72fd9c6f
commit
cf2101b27b
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user