This commit is contained in:
3
dist/sigpro.js
vendored
3
dist/sigpro.js
vendored
@@ -841,7 +841,8 @@
|
||||
const res = await fetch(url, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(data)
|
||||
body: JSON.stringify(data),
|
||||
credentials: "include"
|
||||
});
|
||||
if (!res.ok) {
|
||||
const errorText = await res.text();
|
||||
|
||||
2
dist/sigpro.min.js
vendored
2
dist/sigpro.min.js
vendored
File diff suppressed because one or more lines are too long
3
dist/utils.js
vendored
3
dist/utils.js
vendored
@@ -6,7 +6,8 @@ var db = async (url, data = {}, loading = null) => {
|
||||
const res = await fetch(url, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(data)
|
||||
body: JSON.stringify(data),
|
||||
credentials: "include"
|
||||
});
|
||||
if (!res.ok) {
|
||||
const errorText = await res.text();
|
||||
|
||||
Reference in New Issue
Block a user