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

View File

@@ -7,7 +7,8 @@ export const db = async (url, data = {}, loading = null) => {
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data)
body: JSON.stringify(data),
credentials: 'include'
});
if (!res.ok) {