24034ec957
* Add canonicalBase config to allow setting absolute path for canonical link * Make sure canonicalBase is set for export and serverless * Move canonicalBase to amp.canonicalBase * Update tests with canonicalBase config * Update tests * run lint-fix * Fix canonicalBase config parsing * Fix canonicalBase during export * Update amphtml tests
12 lines
233 B
JavaScript
12 lines
233 B
JavaScript
module.exports = {
|
|
onDemandEntries: {
|
|
// Make sure entries are not getting disposed.
|
|
maxInactiveAge: 1000 * 60 * 60
|
|
},
|
|
amp: {
|
|
canonicalBase: 'http://localhost:1234'
|
|
},
|
|
experimental: {
|
|
autoExport: true
|
|
}
|
|
}
|