Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Set env vars in production #2

Merged
merged 1 commit into from
Dec 3, 2017
Merged
Changes from all commits
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
2 changes: 2 additions & 0 deletions start-shields.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ SHIELDS_DIR="$DIR/shields"
cd "$SHIELDS_DIR"
export HTTPS=true
export SHIELDS_ANALYTICS_FILE="$SHIELDS_DIR"/analytics-https.json
export ALLOWED_ORIGIN=http://shields.io,https://shields.io
export REDIRECT_URI=https://shields.io/
node --max_old_space_size=1380 ./server.js >> log/out 2>&1