This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-next/config / WithEnginexOptions

WithEnginexOptions ​

Options of withEnginex.

Properties ​

gatewayUrl ​

gatewayUrl: string

Absolute gateway URL, e.g. https://gateway.operator.com (the trailing slash is removed). In an app that already has the URL in NEXT_PUBLIC_API_URL, pass process.env.NEXT_PUBLIC_API_URL.


paths? ​

optional paths?: readonly string[]

Paths sent to the gateway, each with the same path at the destination. Default: ['/api/:path*']. E.g. ['/api/:path*', '/dev/:path*'].