mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add config value type converters for numbers and booleans
This commit is contained in:
@ -165,7 +165,7 @@ async function seedContentForUser(contentIndex, directories, forceCategories) {
|
||||
*/
|
||||
export async function checkForNewContent(directoriesList, forceCategories = []) {
|
||||
try {
|
||||
const contentCheckSkip = getConfigValue('skipContentCheck', false);
|
||||
const contentCheckSkip = getConfigValue('skipContentCheck', false, 'boolean');
|
||||
if (contentCheckSkip && forceCategories?.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user