LogtoResource.WithNodeEnv
Method
type LogtoResource interface { // ... omitted for brevity WithNodeEnv(env string) LogtoResource}Signature
method
WithNodeEnv builderConfigures the Logto resource to use the specified Node.js environment value by setting the corresponding environment variable.
WithNodeEnv(env string) LogtoResourceParameters
envstringThe value of the Node.js environment variable to set, typically "development", "production", or "test".Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: