Skip to content

Commit 66fd15f

Browse files
committed
Fix trailing slash in API URL
1 parent 2f2e13f commit 66fd15f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/js/src/settings/digest-settings/DigestSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function DigestSettings() {
1414
React.useEffect(() => {
1515
async function fetchDigestSettings() {
1616
try {
17-
const response = await fetch("/settings/get-digest");
17+
const response = await fetch("/settings/digest-setting/");
1818
if (!response.ok) {
1919
throw new Error(`${response.status} HTTP response.`);
2020
}
@@ -38,7 +38,7 @@ export default function DigestSettings() {
3838
e.preventDefault();
3939
setSaving(true);
4040
try {
41-
const response = await fetch("/settings/set-digest", {
41+
const response = await fetch("/settings/digest-setting/", {
4242
method: "POST",
4343
headers: {
4444
"Content-Type": "application/json",

0 commit comments

Comments
 (0)