gscdump 5.3.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/indexnow.mjs +2 -2
- package/package.json +1 -1
package/dist/indexnow.mjs
CHANGED
|
@@ -23,7 +23,7 @@ function indexNow(options = {}) {
|
|
|
23
23
|
const parsed = parseInput(input);
|
|
24
24
|
if (!parsed.ok) return parsed;
|
|
25
25
|
const response = await fetch(input.keyLocation, {
|
|
26
|
-
redirect: "
|
|
26
|
+
redirect: "manual",
|
|
27
27
|
signal: AbortSignal.timeout(timeoutMs)
|
|
28
28
|
});
|
|
29
29
|
if (response.status !== 200) return ok({
|
|
@@ -78,7 +78,7 @@ function indexNow(options = {}) {
|
|
|
78
78
|
}
|
|
79
79
|
const response = await fetch("https://api.indexnow.org/indexnow", {
|
|
80
80
|
method: "POST",
|
|
81
|
-
redirect: "
|
|
81
|
+
redirect: "manual",
|
|
82
82
|
signal: AbortSignal.timeout(timeoutMs),
|
|
83
83
|
headers: { "content-type": "application/json; charset=utf-8" },
|
|
84
84
|
body: JSON.stringify({
|
package/package.json
CHANGED