TTUSDC / cpceed-webapp

CPCEED Web App
https://ttusdc.github.io/cpceed-webapp/
3 stars 0 forks source link

loglevel #22

Closed NilsG-S closed 7 years ago

NilsG-S commented 7 years ago

Adds loglevel to the project.

@asclines In logger.js I have an if-statement that checks typeof ENV !== 'undefined'. This is because I wasn't sure how you wanted to set the build type. I have Webpack setup to replace ENV with prod, dev, or test accordingly, but I couldn't see anything similar on the back end.

asclines commented 7 years ago

@NilsG-S to my knowledge there is nowhere in the backend that really checks that.

The only occurrences of using environment variables in the API are here and here