Extract API endpoint for moving UI

This commit is contained in:
Cohee
2024-03-20 01:07:28 +02:00
parent b261c8c4a9
commit abb8bdbc1e
4 changed files with 31 additions and 17 deletions

View File

@ -2175,7 +2175,7 @@ async function saveMovingUI() {
};
console.log(movingUIPreset);
const response = await fetch('/savemovingui', {
const response = await fetch('/api/moving-ui/save', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify(movingUIPreset),