|
|
@ -39,7 +39,8 @@ module.exports = { |
|
|
|
min: 3, |
|
|
|
min: 3, |
|
|
|
max: 5 |
|
|
|
max: 5 |
|
|
|
}, |
|
|
|
}, |
|
|
|
paintAmount: 2 |
|
|
|
paintAmount: 2, |
|
|
|
|
|
|
|
fontPaths: [], //optional list of file paths to fonts for captchas |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
/* dnsbl, will add a small delay for uncached requests. You could also install some |
|
|
|
/* dnsbl, will add a small delay for uncached requests. You could also install some |
|
|
@ -64,6 +65,10 @@ module.exports = { |
|
|
|
its not recommended to change this setting after initial setup */ |
|
|
|
its not recommended to change this setting after initial setup */ |
|
|
|
ipHashMode: 1, |
|
|
|
ipHashMode: 1, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* delete files immediately rather than pruning later. usually disabled to prevent re-thumbnailing and processing commonly |
|
|
|
|
|
|
|
uploaded files, but deleting immediately is better if you are concerned about "deleted" content not being immediately removed */ |
|
|
|
|
|
|
|
pruneImmediately: false, |
|
|
|
|
|
|
|
|
|
|
|
//cache templates in memory. disable only if editing templates and doing dev work |
|
|
|
//cache templates in memory. disable only if editing templates and doing dev work |
|
|
|
cacheTemplates: true, |
|
|
|
cacheTemplates: true, |
|
|
|
|
|
|
|
|
|
|
@ -126,10 +131,6 @@ module.exports = { |
|
|
|
regex=custom regex of what to replace e.g. /[^\w\s-]+/g */ |
|
|
|
regex=custom regex of what to replace e.g. /[^\w\s-]+/g */ |
|
|
|
filterFileNames: false, |
|
|
|
filterFileNames: false, |
|
|
|
|
|
|
|
|
|
|
|
/* delete files immediately rather than pruning later. usually disabled to prevent re-thumbnailing and processing commonly |
|
|
|
|
|
|
|
uploaded files, but deleting immediately is better if you are concerned about "deleted" content not being immediately removed */ |
|
|
|
|
|
|
|
pruneImmediately: false, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//options for code block highlighting in posts |
|
|
|
//options for code block highlighting in posts |
|
|
|
highlightOptions: { |
|
|
|
highlightOptions: { |
|
|
|
|
|
|
|
|
|
|
@ -262,6 +263,6 @@ module.exports = { |
|
|
|
audio: true, |
|
|
|
audio: true, |
|
|
|
other: false |
|
|
|
other: false |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|