mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Extract sprite and custom content endpoints to a separate files. Update constants references
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
const directories = {
|
||||
const DIRECTORIES = {
|
||||
worlds: 'public/worlds/',
|
||||
avatars: 'public/User Avatars',
|
||||
images: 'public/img/',
|
||||
@ -102,7 +102,10 @@ const UNSAFE_EXTENSIONS = [
|
||||
".ws",
|
||||
];
|
||||
|
||||
const UPLOADS_PATH = './uploads';
|
||||
|
||||
module.exports = {
|
||||
directories,
|
||||
DIRECTORIES,
|
||||
UNSAFE_EXTENSIONS,
|
||||
UPLOADS_PATH,
|
||||
}
|
||||
|
Reference in New Issue
Block a user