const { name: packageName, version: packageVersion } = require('../package.json');
const common = require('../src/common');
const Enum = require('../src/enum');
+const roman = require('@squeep/roman');
+
+const currentYear = (new Date()).getFullYear();
+const romanYearHTML = roman.toRoman(currentYear, true);
const defaultOptions = {
// Uniquely identify this instance, used to tag work-in-progress.
manager: {
pageTitle: packageName, // title on html pages
- logoUrl: '/static/logo.svg', // image to go with title
+ logoUrl: 'static/logo.svg', // image to go with title
footerEntries: [ // common footers on all html pages
'<a href="https://git.squeep.com/?p=websub-hub;a=tree">Development Repository</a> / <a href="https://github.com/thylacine/websub-hub/">GitHub mirror</a>',
- '<span class="copyright">©<time datetime="2022">ⅯⅯⅩⅩⅠⅠ</time></span>',
+ `<span class="copyright">©<time datetime="${currentYear}">${romanYearHTML}</time></span>`,
],
publishHistoryDays: 60, // Number of days of update history to show on topic details page
strictSecrets: false, // If true, reject requests with secrets but not over https
},
communication: {
+ requestTimeoutMs: 120000,
strictTopicHubLink: true, // If true, deletes topics which do not list us (dingus.selfBaseUrl) as a hub relation.
retryBackoffSeconds: [60, 120, 360, 1440, 7200, 43200, 86400], // failed requests retry according to number of attempts
claimTimeoutSeconds: 600, // how long until an in-progress task is deemed abandoned