aboutsummaryrefslogtreecommitdiff
path: root/src/stores
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/settings.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stores/settings.ts b/src/stores/settings.ts
index 1d808a82..50dd4013 100644
--- a/src/stores/settings.ts
+++ b/src/stores/settings.ts
@@ -222,6 +222,7 @@ settings.subscribe((value) => {
if (data?.configuration && !isEqualsJson(data.configuration, value))
fetch(root(`/api/configuration`), {
method: "PUT",
+ headers: { "Content-Type": "application/json" },
body: JSON.stringify(value),
})
.then((response) => {