Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Setting node's NODE_ENV based off of ASPNETCORE_ENVIRONMENT? #230

Description

@pauldotknopf

Or, allow us to manually specific environment variables for the node instances ourselves.

Activity

  1. changed the title [-]Setting node's ```NODE_ENV``` based off of ```ASPNETCORE_ENVIRONMENT```?[/-] [+]Setting node's NODE_ENV based off of ASPNETCORE_ENVIRONMENT?[/+] on Jul 30, 2016
  2. SteveSandersonMS commented on Aug 4, 2016

    @SteveSandersonMS
    Member

    Yes, this sounds good! If you want to do a PR that would be great, otherwise I'll get to this within the next couple of weeks.

  3. added a commit that references this issue on Aug 16, 2016
    0981599
  4. SteveSandersonMS commented on Aug 16, 2016

    @SteveSandersonMS
    Member

    Now implemented. I'll publish updated packages soon.

    I've also added an EnvironmentVariables property to NodeServicesOptions you can use to pass arbitrary env vars.

    If you just want NODE_ENV set to development/production based on your ASP.NET app's hosting environment, you don't have to do anything - this now happens automatically.

  5. added a commit that references this issue on Aug 17, 2016
    e7b7d33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions