Completely removed CKEditor 5
Some fixes of bugs from testing in production env.
This commit is contained in:
parent
d459f7cfed
commit
43c6b58793
17 changed files with 2901 additions and 440 deletions
|
@ -782,12 +782,12 @@ async function migrateSettings(knex) {
|
|||
|
||||
await knex('settings').del();
|
||||
await knex('settings').insert([
|
||||
{ key: 'uaCode', value: settings.uaCode },
|
||||
{ key: 'shoutout', value: settings.shoutout },
|
||||
{ key: 'adminEmail', value: settings.adminEmail },
|
||||
{ key: 'defaultHomepage', value: settings.defaultHomepage },
|
||||
{ key: 'pgpPassphrase', value: settings.pgpPassphrase },
|
||||
{ key: 'pgpPrivateKey', value: settings.pgpPrivateKey }
|
||||
{ key: 'uaCode', value: settings.uaCode || '' },
|
||||
{ key: 'shoutout', value: settings.shoutout || '' },
|
||||
{ key: 'adminEmail', value: settings.adminEmail || '' },
|
||||
{ key: 'defaultHomepage', value: settings.defaultHomepage || '' },
|
||||
{ key: 'pgpPassphrase', value: settings.pgpPassphrase || '' },
|
||||
{ key: 'pgpPrivateKey', value: settings.pgpPrivateKey || '' }
|
||||
]);
|
||||
|
||||
}
|
||||
|
@ -1284,4 +1284,4 @@ exports.up = (knex, Promise) => (async() => {
|
|||
})();
|
||||
|
||||
exports.down = (knex, Promise) => (async() => {
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue