mozilla / aestimia

[Archived] Assessment tool
4 stars 10 forks source link

Prohibit access to /test/ if NODE_ENV=production #67

Closed toolness closed 11 years ago

toolness commented 11 years ago

As per discussion with @freddyb, we should prohibit access to /test/* if NODE_ENV is production (or perhaps if DEBUG isn't set), since we allow eval() in tests and there's no telling if the test suite could have security vulnerabilities.