Update
All checks were successful
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

3
dist/sigpro.js vendored
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
dist/sigpro.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/utils.js vendored
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();

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();

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) {