minor updates to root HTML
[websub-hub] / config / default.js
index 5c7091fce7ce87befc70a54bc1146856d141f4dd..64f45eca22399ba7b44ebae0f586a7306e078650 100644 (file)
@@ -22,6 +22,12 @@ const defaultOptions = {
   db: {
     connectionString: '', // e.g. sqlite://path/to/dbfile.sqlite
     queryLogLevel: undefined, // Set to log queries
+    cacheEnabled: true, // Cache some db responses. (Postgres only)
+    listener: { // Settings for the cache-invalidator connection. (Postgres only)
+      // pingDelayMs: 5000, // Connection keep-alive/health-check.
+      // reconnectDelayMs: 6000, // Wait time before attempting reconnection.
+      // reconnectTimes: 10, // Retries limit.
+    },
   },
 
   // Logging options
@@ -38,6 +44,10 @@ const defaultOptions = {
 
   manager: {
     pageTitle: packageName, // title on html pages
+    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>',
+      '<small><span class="copyright">&copy;<time datetime="2021">&#8559;&#8559;&#8553;&#8553;&#8544;</time></span></small>',
+    ],
     strictSecrets: false, // If true, reject requests with secrets but not over https
     publicHub: true, // Accept publish requests as new topics.
     processImmediately: true, // If true, immediately attempt to process requests when accepted.