withNodeEnv

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
interface LogtoResource {
// ... 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

Applies to

This method applies to the following types: