Extract sprite and custom content endpoints to a separate files. Update constants references

This commit is contained in:
Cohee
2023-09-16 17:28:28 +03:00
parent d185e143a8
commit 38b63b07f5
9 changed files with 485 additions and 440 deletions

View File

@ -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 }),