{"action":"created","comment":{"url":"https://api.github.com/repos/ftlabs/big-ft/pulls/comments/53204591","id":53204591,"diff_hunk":"@@ -4,11 +4,13 @@ const R = require('ramda');\n const briefArticleMapper = R.map(briefArticle);\n \n const siteApiEndpoint = process.env.siteApiEndpoint;\n-const frontPageId = process.env.frontPageId;\n-const mainContentKey = process.env.mainContentKey;\n-const apiKey = process.env.apiKey;\n+const mainContentKey  = process.env.mainContentKey;\n+const apiKey          = process.env.apiKey;\n+const frontPageIdUK   = process.env.frontPageId;","path":"server/lib/topStories.js","position":9,"original_position":9,"commit_id":"d4bed57f59ee225f0e85f5c95f5c14f5d22371b0","original_commit_id":"d4bed57f59ee225f0e85f5c95f5c14f5d22371b0","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":"@railsagainstignorance In a prior PR you changed these strings from being env vars to being within the codebase itself as it was shown that they are not env specific. Could we apply that work into the PR? Here is the reference PR: https://github.com/ftlabs/big-ft/pull/11/files#diff-c9b6d92f13b7e31c43665de5383a27f0R20","created_at":"2016-02-17T18:04:14Z","updated_at":"2016-02-17T18:04:14Z","html_url":"https://github.com/ftlabs/big-ft/pull/74#discussion_r53204591","pull_request_url":"https://api.github.com/repos/ftlabs/big-ft/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/comments/53204591"},"html":{"href":"https://github.com/ftlabs/big-ft/pull/74#discussion_r53204591"},"pull_request":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/ftlabs/big-ft/pulls/74","id":59663279,"html_url":"https://github.com/ftlabs/big-ft/pull/74","diff_url":"https://github.com/ftlabs/big-ft/pull/74.diff","patch_url":"https://github.com/ftlabs/big-ft/pull/74.patch","issue_url":"https://api.github.com/repos/ftlabs/big-ft/issues/74","number":74,"state":"open","locked":false,"title":"ADDED: ?edition=US param, needs new env var: frontPageIdUS","user":{"login":"railsagainstignorance","id":250310,"avatar_url":"https://avatars.githubusercontent.com/u/250310?v=3","gravatar_id":"","url":"https://api.github.com/users/railsagainstignorance","html_url":"https://github.com/railsagainstignorance","followers_url":"https://api.github.com/users/railsagainstignorance/followers","following_url":"https://api.github.com/users/railsagainstignorance/following{/other_user}","gists_url":"https://api.github.com/users/railsagainstignorance/gists{/gist_id}","starred_url":"https://api.github.com/users/railsagainstignorance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsagainstignorance/subscriptions","organizations_url":"https://api.github.com/users/railsagainstignorance/orgs","repos_url":"https://api.github.com/users/railsagainstignorance/repos","events_url":"https://api.github.com/users/railsagainstignorance/events{/privacy}","received_events_url":"https://api.github.com/users/railsagainstignorance/received_events","type":"User","site_admin":false},"body":"default is still UK homepage, but can override with ?edition=US or ?edition=INTL\r\n\r\nneeds an env var: frontPageIdUS=... for the CAPI id of the US homepage","created_at":"2016-02-17T15:49:18Z","updated_at":"2016-02-17T18:04:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c20d3b7f0e34172bf640bcd2fb69fae0d4428714","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/ftlabs/big-ft/pulls/74/commits","review_comments_url":"https://api.github.com/repos/ftlabs/big-ft/pulls/74/comments","review_comment_url":"https://api.github.com/repos/ftlabs/big-ft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ftlabs/big-ft/issues/74/comments","statuses_url":"https://api.github.com/repos/ftlabs/big-ft/statuses/d4bed57f59ee225f0e85f5c95f5c14f5d22371b0","head":{"label":"ftlabs:editions","ref":"editions","sha":"d4bed57f59ee225f0e85f5c95f5c14f5d22371b0","user":{"login":"ftlabs","id":1432696,"avatar_url":"https://avatars.githubusercontent.com/u/1432696?v=3","gravatar_id":"","url":"https://api.github.com/users/ftlabs","html_url":"https://github.com/ftlabs","followers_url":"https://api.github.com/users/ftlabs/followers","following_url":"https://api.github.com/users/ftlabs/following{/other_user}","gists_url":"https://api.github.com/users/ftlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ftlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftlabs/subscriptions","organizations_url":"https://api.github.com/users/ftlabs/orgs","repos_url":"https://api.github.com/users/ftlabs/repos","events_url":"https://api.github.com/users/ftlabs/events{/privacy}","received_events_url":"https://api.github.com/users/ftlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":47126161,"name":"big-ft","full_name":"ftlabs/big-ft","owner":{"login":"ftlabs","id":1432696,"avatar_url":"https://avatars.githubusercontent.com/u/1432696?v=3","gravatar_id":"","url":"https://api.github.com/users/ftlabs","html_url":"https://github.com/ftlabs","followers_url":"https://api.github.com/users/ftlabs/followers","following_url":"https://api.github.com/users/ftlabs/following{/other_user}","gists_url":"https://api.github.com/users/ftlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ftlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftlabs/subscriptions","organizations_url":"https://api.github.com/users/ftlabs/orgs","repos_url":"https://api.github.com/users/ftlabs/repos","events_url":"https://api.github.com/users/ftlabs/events{/privacy}","received_events_url":"https://api.github.com/users/ftlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ftlabs/big-ft","description":"A view of the FT homepage designed for non-interactive video walls and billboards","fork":false,"url":"https://api.github.com/repos/ftlabs/big-ft","forks_url":"https://api.github.com/repos/ftlabs/big-ft/forks","keys_url":"https://api.github.com/repos/ftlabs/big-ft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ftlabs/big-ft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ftlabs/big-ft/teams","hooks_url":"https://api.github.com/repos/ftlabs/big-ft/hooks","issue_events_url":"https://api.github.com/repos/ftlabs/big-ft/issues/events{/number}","events_url":"https://api.github.com/repos/ftlabs/big-ft/events","assignees_url":"https://api.github.com/repos/ftlabs/big-ft/assignees{/user}","branches_url":"https://api.github.com/repos/ftlabs/big-ft/branches{/branch}","tags_url":"https://api.github.com/repos/ftlabs/big-ft/tags","blobs_url":"https://api.github.com/repos/ftlabs/big-ft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ftlabs/big-ft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ftlabs/big-ft/git/refs{/sha}","trees_url":"https://api.github.com/repos/ftlabs/big-ft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ftlabs/big-ft/statuses/{sha}","languages_url":"https://api.github.com/repos/ftlabs/big-ft/languages","stargazers_url":"https://api.github.com/repos/ftlabs/big-ft/stargazers","contributors_url":"https://api.github.com/repos/ftlabs/big-ft/contributors","subscribers_url":"https://api.github.com/repos/ftlabs/big-ft/subscribers","subscription_url":"https://api.github.com/repos/ftlabs/big-ft/subscription","commits_url":"https://api.github.com/repos/ftlabs/big-ft/commits{/sha}","git_commits_url":"https://api.github.com/repos/ftlabs/big-ft/git/commits{/sha}","comments_url":"https://api.github.com/repos/ftlabs/big-ft/comments{/number}","issue_comment_url":"https://api.github.com/repos/ftlabs/big-ft/issues/comments{/number}","contents_url":"https://api.github.com/repos/ftlabs/big-ft/contents/{+path}","compare_url":"https://api.github.com/repos/ftlabs/big-ft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ftlabs/big-ft/merges","archive_url":"https://api.github.com/repos/ftlabs/big-ft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ftlabs/big-ft/downloads","issues_url":"https://api.github.com/repos/ftlabs/big-ft/issues{/number}","pulls_url":"https://api.github.com/repos/ftlabs/big-ft/pulls{/number}","milestones_url":"https://api.github.com/repos/ftlabs/big-ft/milestones{/number}","notifications_url":"https://api.github.com/repos/ftlabs/big-ft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ftlabs/big-ft/labels{/name}","releases_url":"https://api.github.com/repos/ftlabs/big-ft/releases{/id}","deployments_url":"https://api.github.com/repos/ftlabs/big-ft/deployments","created_at":"2015-11-30T15:01:31Z","updated_at":"2016-01-12T12:12:13Z","pushed_at":"2016-02-17T15:49:19Z","git_url":"git://github.com/ftlabs/big-ft.git","ssh_url":"git@github.com:ftlabs/big-ft.git","clone_url":"https://github.com/ftlabs/big-ft.git","svn_url":"https://github.com/ftlabs/big-ft","homepage":null,"size":5148,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"ftlabs:master","ref":"master","sha":"4cf423a2ffb2778a94a611688334f7ce06b8ce53","user":{"login":"ftlabs","id":1432696,"avatar_url":"https://avatars.githubusercontent.com/u/1432696?v=3","gravatar_id":"","url":"https://api.github.com/users/ftlabs","html_url":"https://github.com/ftlabs","followers_url":"https://api.github.com/users/ftlabs/followers","following_url":"https://api.github.com/users/ftlabs/following{/other_user}","gists_url":"https://api.github.com/users/ftlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ftlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftlabs/subscriptions","organizations_url":"https://api.github.com/users/ftlabs/orgs","repos_url":"https://api.github.com/users/ftlabs/repos","events_url":"https://api.github.com/users/ftlabs/events{/privacy}","received_events_url":"https://api.github.com/users/ftlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":47126161,"name":"big-ft","full_name":"ftlabs/big-ft","owner":{"login":"ftlabs","id":1432696,"avatar_url":"https://avatars.githubusercontent.com/u/1432696?v=3","gravatar_id":"","url":"https://api.github.com/users/ftlabs","html_url":"https://github.com/ftlabs","followers_url":"https://api.github.com/users/ftlabs/followers","following_url":"https://api.github.com/users/ftlabs/following{/other_user}","gists_url":"https://api.github.com/users/ftlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ftlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftlabs/subscriptions","organizations_url":"https://api.github.com/users/ftlabs/orgs","repos_url":"https://api.github.com/users/ftlabs/repos","events_url":"https://api.github.com/users/ftlabs/events{/privacy}","received_events_url":"https://api.github.com/users/ftlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ftlabs/big-ft","description":"A view of the FT homepage designed for non-interactive video walls and billboards","fork":false,"url":"https://api.github.com/repos/ftlabs/big-ft","forks_url":"https://api.github.com/repos/ftlabs/big-ft/forks","keys_url":"https://api.github.com/repos/ftlabs/big-ft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ftlabs/big-ft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ftlabs/big-ft/teams","hooks_url":"https://api.github.com/repos/ftlabs/big-ft/hooks","issue_events_url":"https://api.github.com/repos/ftlabs/big-ft/issues/events{/number}","events_url":"https://api.github.com/repos/ftlabs/big-ft/events","assignees_url":"https://api.github.com/repos/ftlabs/big-ft/assignees{/user}","branches_url":"https://api.github.com/repos/ftlabs/big-ft/branches{/branch}","tags_url":"https://api.github.com/repos/ftlabs/big-ft/tags","blobs_url":"https://api.github.com/repos/ftlabs/big-ft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ftlabs/big-ft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ftlabs/big-ft/git/refs{/sha}","trees_url":"https://api.github.com/repos/ftlabs/big-ft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ftlabs/big-ft/statuses/{sha}","languages_url":"https://api.github.com/repos/ftlabs/big-ft/languages","stargazers_url":"https://api.github.com/repos/ftlabs/big-ft/stargazers","contributors_url":"https://api.github.com/repos/ftlabs/big-ft/contributors","subscribers_url":"https://api.github.com/repos/ftlabs/big-ft/subscribers","subscription_url":"https://api.github.com/repos/ftlabs/big-ft/subscription","commits_url":"https://api.github.com/repos/ftlabs/big-ft/commits{/sha}","git_commits_url":"https://api.github.com/repos/ftlabs/big-ft/git/commits{/sha}","comments_url":"https://api.github.com/repos/ftlabs/big-ft/comments{/number}","issue_comment_url":"https://api.github.com/repos/ftlabs/big-ft/issues/comments{/number}","contents_url":"https://api.github.com/repos/ftlabs/big-ft/contents/{+path}","compare_url":"https://api.github.com/repos/ftlabs/big-ft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ftlabs/big-ft/merges","archive_url":"https://api.github.com/repos/ftlabs/big-ft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ftlabs/big-ft/downloads","issues_url":"https://api.github.com/repos/ftlabs/big-ft/issues{/number}","pulls_url":"https://api.github.com/repos/ftlabs/big-ft/pulls{/number}","milestones_url":"https://api.github.com/repos/ftlabs/big-ft/milestones{/number}","notifications_url":"https://api.github.com/repos/ftlabs/big-ft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ftlabs/big-ft/labels{/name}","releases_url":"https://api.github.com/repos/ftlabs/big-ft/releases{/id}","deployments_url":"https://api.github.com/repos/ftlabs/big-ft/deployments","created_at":"2015-11-30T15:01:31Z","updated_at":"2016-01-12T12:12:13Z","pushed_at":"2016-02-17T15:49:19Z","git_url":"git://github.com/ftlabs/big-ft.git","ssh_url":"git@github.com:ftlabs/big-ft.git","clone_url":"https://github.com/ftlabs/big-ft.git","svn_url":"https://github.com/ftlabs/big-ft","homepage":null,"size":5148,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/74"},"html":{"href":"https://github.com/ftlabs/big-ft/pull/74"},"issue":{"href":"https://api.github.com/repos/ftlabs/big-ft/issues/74"},"comments":{"href":"https://api.github.com/repos/ftlabs/big-ft/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ftlabs/big-ft/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/ftlabs/big-ft/statuses/d4bed57f59ee225f0e85f5c95f5c14f5d22371b0"}}}}