{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/comments/91751603","pull_request_review_id":12263517,"id":91751603,"diff_hunk":"@@ -22,6 +23,17 @@ module.exports = function createApp(config) {\n \t}\n \n \tapp.use(getBasePath);\n+\tapp.use((request, response, next) => {\n+\t\tconst originalUrl = request.headers['ft-original-url'];","path":"lib/index.js","position":13,"original_position":13,"commit_id":"048e6f7626550be3577765161283c002c67939a9","original_commit_id":"048e6f7626550be3577765161283c002c67939a9","user":{"login":"JakeChampion","id":1569131,"avatar_url":"https://avatars.githubusercontent.com/u/1569131?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeChampion","html_url":"https://github.com/JakeChampion","followers_url":"https://api.github.com/users/JakeChampion/followers","following_url":"https://api.github.com/users/JakeChampion/following{/other_user}","gists_url":"https://api.github.com/users/JakeChampion/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeChampion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeChampion/subscriptions","organizations_url":"https://api.github.com/users/JakeChampion/orgs","repos_url":"https://api.github.com/users/JakeChampion/repos","events_url":"https://api.github.com/users/JakeChampion/events{/privacy}","received_events_url":"https://api.github.com/users/JakeChampion/received_events","type":"User","site_admin":false},"body":"all vcls and akamais need to send this header","created_at":"2016-12-09T16:48:15Z","updated_at":"2016-12-09T16:48:15Z","html_url":"https://github.com/Financial-Times/origami-build-service/pull/91#discussion_r91751603","pull_request_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/comments/91751603"},"html":{"href":"https://github.com/Financial-Times/origami-build-service/pull/91#discussion_r91751603"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91","id":97341148,"html_url":"https://github.com/Financial-Times/origami-build-service/pull/91","diff_url":"https://github.com/Financial-Times/origami-build-service/pull/91.diff","patch_url":"https://github.com/Financial-Times/origami-build-service/pull/91.patch","issue_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/91","number":91,"state":"open","locked":false,"title":"Log the original hostname used to access the app","user":{"login":"rowanmanning","id":138944,"avatar_url":"https://avatars.githubusercontent.com/u/138944?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmanning","html_url":"https://github.com/rowanmanning","followers_url":"https://api.github.com/users/rowanmanning/followers","following_url":"https://api.github.com/users/rowanmanning/following{/other_user}","gists_url":"https://api.github.com/users/rowanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmanning/subscriptions","organizations_url":"https://api.github.com/users/rowanmanning/orgs","repos_url":"https://api.github.com/users/rowanmanning/repos","events_url":"https://api.github.com/users/rowanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmanning/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-09T16:45:43Z","updated_at":"2016-12-09T16:48:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb8965d4e1a6ec296661463f70a375eaef2d2ee3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/91/comments","statuses_url":"https://api.github.com/repos/Financial-Times/origami-build-service/statuses/048e6f7626550be3577765161283c002c67939a9","head":{"label":"Financial-Times:log-hostname","ref":"log-hostname","sha":"048e6f7626550be3577765161283c002c67939a9","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":52436623,"name":"origami-build-service","full_name":"Financial-Times/origami-build-service","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/origami-build-service","description":"Creates bundles of JavaScript and CSS from building Origami and Origami-compatible modules","fork":false,"url":"https://api.github.com/repos/Financial-Times/origami-build-service","forks_url":"https://api.github.com/repos/Financial-Times/origami-build-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/origami-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/origami-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/origami-build-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/origami-build-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/origami-build-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/origami-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/origami-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/origami-build-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/origami-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/origami-build-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/origami-build-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/origami-build-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/origami-build-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/origami-build-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/origami-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/origami-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/origami-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/origami-build-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/origami-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/origami-build-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/origami-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/origami-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/origami-build-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/origami-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/deployments","created_at":"2016-02-24T11:15:50Z","updated_at":"2016-11-11T15:03:26Z","pushed_at":"2016-12-09T16:45:43Z","git_url":"git://github.com/Financial-Times/origami-build-service.git","ssh_url":"git@github.com:Financial-Times/origami-build-service.git","clone_url":"https://github.com/Financial-Times/origami-build-service.git","svn_url":"https://github.com/Financial-Times/origami-build-service","homepage":"http://origami-build.ft.com/","size":259,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":4,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"13e60b6d3f121cb3c9aab082dd0a7fc9dd2b72cd","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":52436623,"name":"origami-build-service","full_name":"Financial-Times/origami-build-service","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/origami-build-service","description":"Creates bundles of JavaScript and CSS from building Origami and Origami-compatible modules","fork":false,"url":"https://api.github.com/repos/Financial-Times/origami-build-service","forks_url":"https://api.github.com/repos/Financial-Times/origami-build-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/origami-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/origami-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/origami-build-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/origami-build-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/origami-build-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/origami-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/origami-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/origami-build-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/origami-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/origami-build-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/origami-build-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/origami-build-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/origami-build-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/origami-build-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/origami-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/origami-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/origami-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/origami-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/origami-build-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/origami-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/origami-build-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/origami-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/origami-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/origami-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/origami-build-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/origami-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/origami-build-service/deployments","created_at":"2016-02-24T11:15:50Z","updated_at":"2016-11-11T15:03:26Z","pushed_at":"2016-12-09T16:45:43Z","git_url":"git://github.com/Financial-Times/origami-build-service.git","ssh_url":"git@github.com:Financial-Times/origami-build-service.git","clone_url":"https://github.com/Financial-Times/origami-build-service.git","svn_url":"https://github.com/Financial-Times/origami-build-service","homepage":"http://origami-build.ft.com/","size":259,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91"},"html":{"href":"https://github.com/Financial-Times/origami-build-service/pull/91"},"issue":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/91"},"comments":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/origami-build-service/statuses/048e6f7626550be3577765161283c002c67939a9"}}}}
{"actor":{"display_login":"JakeChampion"}}