Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 build.sh Add package.json and basic build script July 13, 2012
Octocat-spinner-32 jenkins.sh Add jenkins.sh July 16, 2012
Octocat-spinner-32 package.json Add basic tests July 16, 2012
Octocat-spinner-32 proxy.js
Octocat-spinner-32 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.