mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-15 19:22:19 +08:00
Update fireEngine.ts
This commit is contained in:
parent
d62f12c9d9
commit
3fcdf57d2f
|
@ -5,7 +5,6 @@ import { logger } from "../lib/logger";
|
||||||
|
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
|
|
||||||
export async function fireEngineMap(
|
export async function fireEngineMap(
|
||||||
q: string,
|
q: string,
|
||||||
options: {
|
options: {
|
||||||
|
@ -40,9 +39,9 @@ export async function fireEngineMap(
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"X-Disable-Cache": "true"
|
"X-Disable-Cache": "true",
|
||||||
},
|
},
|
||||||
body: data
|
body: data,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user