Skip to content
DocsTry Aspire
DocsTry

withNodeEnv

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.5.0
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
envstring
LogtoResource

Applies to

This method applies to the following types: