Allow edit requests to include credentials
This commit is contained in:
parent
3c0186ea1a
commit
f205de053a
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ function openEditor() {
|
|||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
body: body,
|
||||
credentials: "same-origin",
|
||||
}
|
||||
).then(response => {
|
||||
if (!response.ok) throw new Error("Unexpected status code (" + response.status + ")");
|
||||
|
|
Loading…
Reference in a new issue