Fix JS fetch credentials and CSV export from web UI
This commit is contained in:
@@ -55,6 +55,7 @@ document.getElementById('settings-form').addEventListener('submit', async (e) =>
|
||||
const res = await fetch('/api/settings', {
|
||||
method: 'POST',
|
||||
headers: {'Content-Type': 'application/json'},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify(body),
|
||||
});
|
||||
if (res.ok) {
|
||||
|
||||
Reference in New Issue
Block a user