Update
Deploy Docs to Synology / deploy (push) Successful in 3s

This commit is contained in:
2026-05-08 12:50:20 +02:00
parent 369a35d92a
commit afa2817118
5 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -841,7 +841,8 @@
const res = await fetch(url, { const res = await fetch(url, {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify(data) body: JSON.stringify(data),
credentials: "include"
}); });
if (!res.ok) { if (!res.ok) {
const errorText = await res.text(); const errorText = await res.text();
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -6,7 +6,8 @@ var db = async (url, data = {}, loading = null) => {
const res = await fetch(url, { const res = await fetch(url, {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify(data) body: JSON.stringify(data),
credentials: "include"
}); });
if (!res.ok) { if (!res.ok) {
const errorText = await res.text(); const errorText = await res.text();
+2 -1
View File
@@ -841,7 +841,8 @@
const res = await fetch(url, { const res = await fetch(url, {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify(data) body: JSON.stringify(data),
credentials: "include"
}); });
if (!res.ok) { if (!res.ok) {
const errorText = await res.text(); const errorText = await res.text();
+2 -1
View File
@@ -7,7 +7,8 @@ export const db = async (url, data = {}, loading = null) => {
const res = await fetch(url, { const res = await fetch(url, {
method: 'POST', method: 'POST',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data) body: JSON.stringify(data),
credentials: 'include'
}); });
if (!res.ok) { if (!res.ok) {