1
0

feat: require credentials for various endpoints (#3)

This commit is contained in:
Leafus
2025-05-19 16:34:06 +00:00
committed by Bluey Heeler
parent df322ebadc
commit 60af374a81
58 changed files with 228 additions and 114 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export class APIClient {
headers: {
'Content-Type': mediaType,
},
credentials: 'omit',
credentials: 'same-origin',
cache: 'no-cache',
}).then(async (res) => {
const body = res.status === 204 ? null : await res.json();