Type Alias ProxyUrlConfig

ProxyUrlConfig: {
    url: string;
    when?: ProxyRuntimeGate;
}

Full configuration for the proxy middleware. Use this object form of proxyUrl to control when the proxy applies in non-browser runtimes.

Type declaration

  • url: string

    The URL of the proxy server. The proxy server should forward the requests to the fal api.

  • Optionalwhen?: ProxyRuntimeGate

    When the proxy middleware should apply. Defaults to "browser".

    ProxyRuntimeGate