mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +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`,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Disable-Cache": "true"
|
||||
},
|
||||
data: data,
|
||||
};
|
||||
const response = await axios(config);
|
||||
if (response && response) {
|
||||
if (response && response.data) {
|
||||
return response.data;
|
||||
} else {
|
||||
return [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user