diff --git a/src/network/fetch.js b/src/network/fetch.js index 7fa18e8..70dacfc 100644 --- a/src/network/fetch.js +++ b/src/network/fetch.js @@ -1,5 +1,4 @@ import { SsrDataFormatError } from "../others/errors"; -import ssrConfig from "../ssr-config"; import { MINUTE } from "../utils/date"; import createNetworkCache from "./cache"; import { @@ -80,9 +79,6 @@ export async function fetchUrl(url, options = {}, cors = true) { try { const response = await fetch(url, { ...options, - headers: { - "x-requested-with": ssrConfig.name, - }, ...(cors ? { mode: "cors" } : null), });