mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix: enable topic thumbnails across the board [breaking]
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
"maximumTagsPerTopic": 5,
|
||||
"minimumTagLength": 3,
|
||||
"maximumTagLength": 15,
|
||||
"allowTopicsThumbnail": 0,
|
||||
"allowTopicsThumbnail": 1,
|
||||
"registrationType": "normal",
|
||||
"registrationApprovalType": "normal",
|
||||
"allowAccountDelete": 1,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
const meta = require('../../meta');
|
||||
|
||||
module.exports = {
|
||||
name: 'Increase maximum topic thumb size default',
|
||||
name: 'Config changes for new topic thumbnails',
|
||||
timestamp: Date.UTC(2020, 11, 8),
|
||||
method: async () => {
|
||||
const current = await meta.configs.get('topicThumbSize');
|
||||
@@ -11,5 +11,6 @@ module.exports = {
|
||||
if (parseInt(current, 10) === 120) {
|
||||
await meta.configs.set('topicThumbSize', 512);
|
||||
}
|
||||
await meta.configs.set('allowTopicsThumbnail', 1);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user