Closed Fedeorlandau closed 2 years ago
@Fedeorlandau Hello. From version 0.3.4
you can set the environment through the CF integration API. Cheers.
Hi there, thank you!
@lukasborawski what do you think of moving the environment selection to the middleware config?
module.exports = {
integrations: {
cntf: {
location: '@vsf-enterprise/contentful/server',
configuration: {
token: 'CONTENT_DELIVERY_TOKEN',
space: 'CONTENT_SPACE_ID',
environment: 'master',
},
},
// ... other configs
},
}
It's a little bit annoying to do it on the search function. There could be a fair reason to do it but just asking :)
Cheers,
What is your question / Please describe your issue
We're managing multiple environments on Contentful and looks like there is no way to configure a different environment rather than
master
.https://contentful.github.io/contentful.js/contentful/9.1.18/
VSF-Entreprise Contentful docs: https://docs.vuestorefront.io/contentful/guide/installation.html
Using:
"@vsf-enterprise/contentful": "^0.3.2",
cc @ritz0106
What version of Vue Storefront are you using?
2.3.3
Code of Conduct