Include credentials for follow link from subdomains

This commit is contained in:
Asaf Gartner 2024-07-06 12:47:52 +03:00
parent d4a17c8482
commit 0497b262f4
2 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@
method: "POST",
body: formData,
redirect: "error",
credentials: "include",
});
if (result.ok) {
following = !following;

View File

@ -62,6 +62,7 @@
method: "POST",
body: formData,
redirect: "error",
credentials: "include",
});
if (result.ok) {
following = !following;