-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create a client with an URL with path as base #38
Comments
Thank you for your feature request. There are two ways:
I'll go for the first option and try to release a small release asap :) |
Wow that was so quick! We don't need it right now, but will this change also support upload paths? the Upload endpoint also sits behind the gateway, but in a different path. |
yes it will only extend the url, should be fine :) |
@ferranmesas if you update contentful-sdk-core in your project, the new |
Hello! At the company I work at we access all external services through a gateway. We're encountering a bit of an issue when accessing contentful using this method.
For example, we have the contentful management endpoint at
gateway.example.com/contentful-management
.How can we configure the contentful js SDK so it accesses the right endpoints? We've used the
host
field in the past with success, even though the name indicates it's to be used with a host only. There's no parameter in thecreateClient()
call allowing this kind of usage.We'd be happy to contribute a new pair of parameters URL and UploadURL if needed!
The text was updated successfully, but these errors were encountered: