Added live2d asset category to allowed character assets.

This commit is contained in:
Tony Ribeiro 2023-10-14 04:35:09 +02:00
parent 2997522c52
commit 2f3ded734f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const fetch = require('node-fetch').default;
const { finished } = require('stream/promises');
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.