A CORS-enabled Express proxy server ready to deploy to Heroku.
All configuration is done via environment variables
A comma-separated list of domain names allowed to use the proxy.
For example, if you want the proxy to be accessible from
foo.com you can set this to
Leave empty to allow all origins.
ORIGIN_WHITELIST, but for the domain names of URLs we're
Amount of time, in milliseconds, that cacheable responses will be stored in Redis. Omit or set to 0 to disable caching.
Logging level. Permitted values, in order of priority: