mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 22:41:01 +08:00
Merge pull request #264 from coralproject/postmod-default
Update default setting to POST moderation
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ program
|
||||
.description('initilizes the talk settings')
|
||||
.action(() => {
|
||||
const defaults = {
|
||||
moderation: 'PRE',
|
||||
moderation: 'POST',
|
||||
wordlist: {
|
||||
banned: [],
|
||||
suspect: []
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = () => Promise.all([
|
||||
|
||||
// Upsert the settings object.
|
||||
SettingsService.init({
|
||||
moderation: 'PRE',
|
||||
moderation: 'POST',
|
||||
wordlist: {
|
||||
banned: [],
|
||||
suspect: []
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ const SettingSchema = new Schema({
|
||||
'PRE',
|
||||
'POST'
|
||||
],
|
||||
default: 'PRE'
|
||||
default: 'POST'
|
||||
},
|
||||
infoBoxEnable: {
|
||||
type: Boolean,
|
||||
|
||||
Reference in New Issue
Block a user