KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using Express and I need to use different credentials for each server (staging and production). I could setup the variables in the server.coffee file but then I'd need to access those variables in different files. server.coffee: app.configure 'production', () -> app.use express.errorHandler() What's the solution? Setup the variables and then export them?
Tags (comma-separated)
Save Edits
Cancel