1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

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

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