Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
proxy for the review-o-matic side-by-side browser

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
script
test
.gitignore
Procfile
README.md
build.sh
jenkins.sh
package.json
proxy.js
server.js

README.md

review-o-matic-explore

Simple node.js proxy to serve the review-o-matic and the site under review on the same domain, so the side-by-side browser is 'live' and not blocked by Same-Origin-Policy.

export PORT=8096

export REWRITER_HOST='www.direct.gov.uk'

export UPSTREAM_PROTOCOL='https'
export UPSTREAM_HOST='reviewomatic.production.alphagov.co.uk'
export UPSTREAM_AUTH='username:password'

export API_HOST='migratorator.production.alphagov.co.uk'

node server.js

Run the tests

npm install
npm test
Something went wrong with that request. Please try again.