Skip to content

Introduce global "targetOverride" config

Compare
Choose a tag to compare
@jkyberneees jkyberneees released this 12 Sep 15:06
· 271 commits to master since this release

Intended for testing and debugging purposes, the new targetOverride property allows to "debug" your remote gateway instance by ignoring all target values on the config.
This property is optional and should not be set on production.

Usage:

const service = gateway({
  targetOverride: 'https://yourdev.api-gateway.com'
  ...
  routes: [...]
})