Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #430 from Financial-Times/remove-coronavirus-track…
Browse files Browse the repository at this point in the history
…er-amp

Redirect coronavirus tracker to FT.com
  • Loading branch information
rowanbeentje authored Feb 7, 2020
2 parents 661a28b + a202a85 commit daa4997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions secret-squirrel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'e8813dd4-d00d-11e5-831d-09f7778e7377', // server/lib/article/article-flags.js:54, test/utils/test-uuids.js:27
'263615ca-d873-11e9-8f9b-77216ebe1f17', // server/controllers/amp-page.js:8
'f3bb0944-4437-11ea-abea-0c7a29cd66fe', // server/controllers/amp-page.js:9
'a26fbf7e-48f8-11ea-aeb3-955839e06441', // server/controllers/amp-page.js:10
'b4284269-2951-3169-ab98-88c184da5e88', // test/amp-transform/blockquotes.js:39, test/utils/test-uuids.js:32
'56f6ad50-da52-11e5-a72f-1e7744c66818', // test/amp-transform/external-image.js:7|25
'0a5e1620-c0f5-11e5-846f-79b0e3d20eaf', // test/amp-transform/related-box.js:38|44
Expand Down
1 change: 1 addition & 0 deletions server/controllers/amp-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const analytics = require('../lib/analytics');
const articlesToSkip = [
'263615ca-d873-11e9-8f9b-77216ebe1f17', // UK 2019 general election poll tracker: contains dynamic image that shouldn't be cached
'f3bb0944-4437-11ea-abea-0c7a29cd66fe', // US 2019 democratic primaries delegate tracker: contains dynamic image that shouldn't be cached
'a26fbf7e-48f8-11ea-aeb3-955839e06441', // Coronavirus tracker map: contains dynamic image that shouldn't be cached
];

module.exports = (req, res, next) => {
Expand Down

0 comments on commit daa4997

Please sign in to comment.