Fix bug with content-type
This commit is contained in:
parent
9a66205d80
commit
74d5ed7eb0
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@
|
|||
title: document.querySelector('meta[name="title"]').content,
|
||||
}),
|
||||
credentials: "include",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
|
||||
if (r.ok) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue