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:
@ -8713,7 +8713,7 @@ jQuery(async function () {
|
||||
const url = input.trim();
|
||||
console.debug('Custom content import started', url);
|
||||
|
||||
const request = await fetch('/import_custom', {
|
||||
const request = await fetch('/api/content/import', {
|
||||
method: 'POST',
|
||||
headers: getRequestHeaders(),
|
||||
body: JSON.stringify({ url }),
|
||||
|
Reference in New Issue
Block a user