Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add env variable for production
  • Loading branch information
addyosmani committed May 18, 2016
commit 16606c158b5a2c81c30e8ed88b08686e1e9a10d0
2 changes: 2 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
runtime: nodejs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this come with any predefined environment variables?

If not, setting NODE_ENV to production will make Express cache the view template

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vm: true
env_variables:
NODE_ENV: production

skip_files:
- ^(.*/)?.*/node_modules/.*$