# Copy to .env for local dev (`npm run dev` loads it). .env is gitignored. # In production set these through the service manager instead. # # Replaces the old ENV switch in public/javascripts/app.js, which hardcoded the # host and port into the client bundle and had to be edited by hand per deploy. # Port the node process listens on. Behind Apache this stays internal. PORT=8181 # Where the app is mounted. Empty = domain root. # Set to /chess to serve at davidwindham.com/chess. BASE_PATH=/chess # Reverse proxies in front of the app. Behind one Apache, use 1. # Leave empty when running node directly. TRUST_PROXY=1 # Where GET /logs reads from, and where winston writes game counts. # Defaults to ./logs/games.log (gitignored). # LOG_FILE= # Local dev only. The layout loads the shared site chrome from /embed/chrome.js, # which Apache serves from the WP docroot in production. Set this only when you # hit node directly on :8181 with no Apache in front, so it can proxy /embed. # Leave UNSET in production. # DAW_ORIGIN=http://daw.stu