diff options
Diffstat (limited to 'apps/backend/src/utils')
| -rw-r--r-- | apps/backend/src/utils/extractor.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/backend/src/utils/extractor.ts b/apps/backend/src/utils/extractor.ts index 9bf76181..8201cd28 100644 --- a/apps/backend/src/utils/extractor.ts +++ b/apps/backend/src/utils/extractor.ts @@ -2,7 +2,7 @@ import { Env } from "../types"; export const extractPageContent = async (content: string, env: Env) => { console.log("content", content); - const resp = await fetch(`https://md.dhr.wtf?url=${content}`); + const resp = await fetch(`https://md.dhr.wtf?url=${content}?nocache`); if (!resp.ok) { throw new Error( @@ -10,7 +10,7 @@ export const extractPageContent = async (content: string, env: Env) => { ); } - const metadataResp = await fetch(`https://md.dhr.wtf/metadata?url=${content}`); + const metadataResp = await fetch(`https://md.dhr.wtf/metadata?url=${content}?nocache`); if (!metadataResp.ok) { throw new Error( |