Rename settings API endpoints

This commit is contained in:
valadaptive
2023-12-14 16:47:03 -05:00
parent f93e40b1d3
commit 769cc0a78f
4 changed files with 6 additions and 6 deletions

View File

@@ -5566,7 +5566,7 @@ async function doOnboarding(avatarId) {
//***************SETTINGS****************//
///////////////////////////////////////////
async function getSettings() {
const response = await fetch('/getsettings', {
const response = await fetch('/api/settings/get', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({}),
@@ -5759,7 +5759,7 @@ async function saveSettings(type) {
return jQuery.ajax({
type: 'POST',
url: '/savesettings',
url: '/api/settings/save',
data: JSON.stringify({
firstRun: firstRun,
currentVersion: currentVersion,