LogtoResource.WithNodeEnv

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
type LogtoResource interface {
// ... omitted for brevity
WithNodeEnv(env string) LogtoResource
}

Signature

methodWithNodeEnvbuilder
Configures the Logto resource to use the specified Node.js environment value by setting the corresponding environment variable.
WithNodeEnv(env string) LogtoResource
envstringThe value of the Node.js environment variable to set, typically "development", "production", or "test".
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: