mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 18:40:45 +08:00
Update fireEngine.ts
This commit is contained in:
parent
35b15f1ee6
commit
af06b42cb2
@ -42,11 +42,12 @@ export async function fireEngineMap(
|
|||||||
url: `${process.env.FIRE_ENGINE_BETA_URL}/search`,
|
url: `${process.env.FIRE_ENGINE_BETA_URL}/search`,
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"X-Disable-Cache": "true"
|
||||||
},
|
},
|
||||||
data: data,
|
data: data,
|
||||||
};
|
};
|
||||||
const response = await axios(config);
|
const response = await axios(config);
|
||||||
if (response && response) {
|
if (response && response.data) {
|
||||||
return response.data;
|
return response.data;
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user