-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(proxy): add proxy and raw-proxy config
- Loading branch information
Showing
3 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,11 @@ | |
- [`transformEntries(config)`](#transformentriesconfig) | ||
- [`transformEntries` Example](#transformentries-example) | ||
- [`deriveLinkedEntries(config)`](#derivelinkedentriesconfig) | ||
- [`deriveLinkedEntries` Example](#derivelinkedentries-example) | ||
- [`deriveLinkedEntries(config)` Example](#derivelinkedentriesconfig-example) | ||
- [`context`](#context) | ||
- [`makeRequest(config)`](#makerequestconfig) | ||
- [`spaceId` : `string`](#spaceid--string) | ||
- [`accessToken` : `string`](#accesstoken--string) | ||
- [Content type](#content-type) | ||
- [`createField(id[, opts])` : [Field](#field)](#createfieldid-opts--fieldfield) | ||
- [`editField(id[, opts])` : [Field](#field)](#editfieldid-opts--fieldfield) | ||
|
@@ -75,6 +79,7 @@ | |
- [Field](#field) | ||
- [Validation errors](#validation-errors) | ||
- [Example migrations](#example-migrations) | ||
- [Troubleshooting](#troubleshooting) | ||
- [Reach out to us](#reach-out-to-us) | ||
- [You have questions about how to use this library?](#you-have-questions-about-how-to-use-this-library) | ||
- [You found a bug or want to propose a feature?](#you-found-a-bug-or-want-to-propose-a-feature) | ||
|
@@ -468,6 +473,18 @@ migrations() | |
``` | ||
## Troubleshooting | ||
* Unable to connect to Contentful through your Proxy? Try to set the `rawProxy` option to `true`. | ||
```javascript | ||
runMigration({ | ||
proxy: 'https://cat:[email protected]:1234', | ||
rawProxy: true, | ||
... | ||
}) | ||
``` | ||
## Reach out to us | ||
### You have questions about how to use this library? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters