refactor: change scrape endpoint path

This commit is contained in:
Mahen 2026-04-04 10:25:00 +07:00
parent add557c1c3
commit b9bd464bac
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ export const scrapeProduct = async (
url: string, url: string,
options?: { signal?: AbortSignal }, options?: { signal?: AbortSignal },
) => { ) => {
const res = await fetch("/api/scrape", { const res = await fetch("https://citot123-tokped-scraper.hf.space/scrape", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",