Merge pull request #1535 from valadaptive/separate-settings-endpoints

Move settings endpoints into their own module
This commit is contained in:
Cohee
2023-12-15 01:49:29 +02:00
committed by GitHub
5 changed files with 175 additions and 155 deletions

View File

@ -26,7 +26,7 @@ const defaultSettings = {
//method from worldinfo
async function updateQuickReplyPresetList() {
const result = await fetch('/getsettings', {
const result = await fetch('/api/settings/get', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({}),