@financial-times/n-concept
Version:
n-concept provides a card for concepts (e.g. topic, author) and their articles
42 lines (37 loc) • 479 B
JavaScript
const viewports = [
{
width: 768,
height: 1024
},
{
width: 490,
height: 732
},
{
width: 320,
height: 480
}
];
const urls = [
`http://localhost:5005`
]
const config = {
defaults: {
page: {
headers: {
"Cookie": "next-flags=ads:off,cookieMessage:off; secure=true"
}
},
timeout: 25000
},
urls: []
}
for (viewport of viewports) {
for (url of urls) {
config.urls.push({
url: url,
viewport: viewport
})
}
}
module.exports = config;