mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Added live2d asset category to allowed character assets.
This commit is contained in:
@@ -5,7 +5,7 @@ const fetch = require('node-fetch').default;
|
|||||||
const { finished } = require('stream/promises');
|
const { finished } = require('stream/promises');
|
||||||
const { DIRECTORIES, UNSAFE_EXTENSIONS } = require('./constants');
|
const { DIRECTORIES, UNSAFE_EXTENSIONS } = require('./constants');
|
||||||
|
|
||||||
const VALID_CATEGORIES = ["bgm", "ambient", "blip"];
|
const VALID_CATEGORIES = ["bgm", "ambient", "blip", "live2d"];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sanitizes the input filename for theasset.
|
* Sanitizes the input filename for theasset.
|
||||||
|
Reference in New Issue
Block a user