diff --git a/README.md b/README.md index 893cb93..21cfe43 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,14 @@ Update configuration details at config/index.js management_token: '' //Stack management_token data: '' // The data that's to be exported. This is generally the one exported via the contentstack-export utility. ex: '../contentstack-export/contents'. Kindly provide the relative path to the directory ``` +For switching to EU region update the hosts at config/default.js +```js +{ + host:'https://eu-api.contentstack.com/v3', + ... +} +``` ## Usage Once all things are configured, you can run following commands diff --git a/config/default.js b/config/default.js index d6ee222..2b8e339 100644 --- a/config/default.js +++ b/config/default.js @@ -4,6 +4,8 @@ module.exports = { // not passing `locale` will migrate all the locales present // locales: ['fr-fr'], host: 'https://api.contentstack.io/v3', + // use below hosts for eu region + // host:'https://eu-api.contentstack.com/v3', modules: { types: [ 'locales', @@ -47,6 +49,8 @@ module.exports = { // This is the total no. of asset objects fetched in each 'get assets' call limit: 100, host: 'https://api.contentstack.io', + // use below hosts for eu region + // host:'https://eu-api.contentstack.com', validKeys: [ 'uid', 'filename', diff --git a/package.json b/package.json index eb6d328..8c2df8f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "contentstack-import", - "version": "1.7.5", + "version": "1.7.6", "description": "Import data into Contentstack", "homepage": "https://www.contentstack.com/docs/tools-and-frameworks/content-migration/within-contentstack", "author": {