Include credentials for follow link from subdomains
This commit is contained in:
parent
d4a17c8482
commit
0497b262f4
|
@ -74,6 +74,7 @@
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData,
|
body: formData,
|
||||||
redirect: "error",
|
redirect: "error",
|
||||||
|
credentials: "include",
|
||||||
});
|
});
|
||||||
if (result.ok) {
|
if (result.ok) {
|
||||||
following = !following;
|
following = !following;
|
||||||
|
|
|
@ -62,6 +62,7 @@
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData,
|
body: formData,
|
||||||
redirect: "error",
|
redirect: "error",
|
||||||
|
credentials: "include",
|
||||||
});
|
});
|
||||||
if (result.ok) {
|
if (result.ok) {
|
||||||
following = !following;
|
following = !following;
|
||||||
|
|
Loading…
Reference in New Issue