added config entry `dataEngine`

pull/68/head
tycrek 3 years ago
parent 31b7523c15
commit f920907a1b
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -12,6 +12,7 @@ const config = {
spaceReplace: '_', spaceReplace: '_',
mediaStrict: false, mediaStrict: false,
viewDirect: false, viewDirect: false,
dataEngine: '@tycrek/papito',
frontendName: 'ass-x', frontendName: 'ass-x',
indexFile: '', indexFile: '',
s3enabled: false, s3enabled: false,
@ -159,6 +160,12 @@ function doSetup() {
default: config.viewDirect, default: config.viewDirect,
required: false required: false
}, },
dataEngine: {
description: 'Data engine to use (must match an NPM package name. If unsure, leave blank)',
type: 'string',
default: config.dataEngine,
required: false
},
frontendName: { frontendName: {
description: 'Name of your frontend (leave blank if not using frontends)', description: 'Name of your frontend (leave blank if not using frontends)',
type: 'string', type: 'string',

Loading…
Cancel
Save