This commit is contained in:
Starbeamrainbowlabs 2022-08-06 15:17:16 +01:00
parent e6a48c8799
commit 382194321b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -44,7 +44,7 @@ class FileFetcher {
const response = await phin({ const response = await phin({
url, url,
headers: { headers: {
"user-agent": `WorldEditAdditionsStaticBuilder/${this.#pkg_obj.version} (Node.js/${process.version}; ${os.platform()} ${os.arch()}) eleventy/${this.#pkg_obj.devDependencies["@11ty/eleventy"].replace(/\^/, "")}` "user-agent": `WorldEditAdditionsStaticBuilder/${this.#pkg_obj.version} (Node.js/${process.version}; ${os.platform()} ${os.arch()}) eleventy/${this.#pkg_obj.dependencies["@11ty/eleventy"].replace(/\^/, "")}`
}, },
followRedirects: true, followRedirects: true,
parse: 'none' // Returns a Buffer parse: 'none' // Returns a Buffer