We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755cd72 commit f1430f1Copy full SHA for f1430f1
web-ui/src/api/settings.js
@@ -1,11 +1,11 @@
1
import { resolve } from './api.js';
2
3
-const settingsURL = '/services/settings';
+const settingsURL = '/services/settings/';
4
5
export const getSettingValue = async (settingName, cookie) => {
6
return resolve({
7
method: 'GET',
8
- url: settingsURL + "/" + settingName,
+ url: settingsURL + settingName,
9
headers: {
10
'X-CSRF-Header': cookie,
11
Accept: 'application/json',
@@ -29,7 +29,7 @@ export const getAll = async cookie => {
29
export const getAllOptions = async cookie => {
30
31
32
- url: settingsURL + `/options`,
+ url: settingsURL + `options`,
33
34
35
0 commit comments