Skip to content

Commit f1430f1

Browse files
committed
Update settings URL
1 parent 755cd72 commit f1430f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web-ui/src/api/settings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { resolve } from './api.js';
22

3-
const settingsURL = '/services/settings';
3+
const settingsURL = '/services/settings/';
44

55
export const getSettingValue = async (settingName, cookie) => {
66
return resolve({
77
method: 'GET',
8-
url: settingsURL + "/" + settingName,
8+
url: settingsURL + settingName,
99
headers: {
1010
'X-CSRF-Header': cookie,
1111
Accept: 'application/json',
@@ -29,7 +29,7 @@ export const getAll = async cookie => {
2929
export const getAllOptions = async cookie => {
3030
return resolve({
3131
method: 'GET',
32-
url: settingsURL + `/options`,
32+
url: settingsURL + `options`,
3333
headers: {
3434
'X-CSRF-Header': cookie,
3535
Accept: 'application/json',

0 commit comments

Comments
 (0)