Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Is there an easy way for my API to know if it's running on localhost - as in test?
Post Body

I have a price tracking API I am writing and need to be able to run it in production but whilst developing I need only certain functions to fire so I am hoping I can set this via environment variables like in Angular but I'm not sure how I can achieve this with Nest.

Can anyone point me in the direction of a solid tutorial or advise?

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 1 day ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago