You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
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
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
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.
Activity
[-]Setting node's ```NODE_ENV``` based off of ```ASPNETCORE_ENVIRONMENT```?[/-][+]Setting node's NODE_ENV based off of ASPNETCORE_ENVIRONMENT?[/+]SteveSandersonMS commentedon Aug 4, 2016
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.
Add ability to configure environment variables for Node instances, pl…
SteveSandersonMS commentedon Aug 16, 2016
Now implemented. I'll publish updated packages soon.
I've also added an
EnvironmentVariablesproperty toNodeServicesOptionsyou can use to pass arbitrary env vars.If you just want
NODE_ENVset todevelopment/productionbased on your ASP.NET app's hosting environment, you don't have to do anything - this now happens automatically.Merge remote-tracking branch 'upstream/dev' into dev