Update sitemap.ts

This commit is contained in:
rafaelsideguide 2024-08-02 11:32:48 -03:00
parent 8568b61015
commit 4051630632

View File

@ -19,7 +19,7 @@ export async function getLinksFromSitemap(
try { try {
let content: string; let content: string;
try { try {
if (mode === 'axios') { if (mode === 'axios' || process.env.FIRE_ENGINE_BETA_URL === '') {
const response = await axios.get(sitemapUrl, { timeout: axiosTimeout }); const response = await axios.get(sitemapUrl, { timeout: axiosTimeout });
content = response.data; content = response.data;
} else if (mode === 'fire-engine') { } else if (mode === 'fire-engine') {