fix: resolve endpoint path issues

This commit is contained in:
Mahen 2026-04-04 12:22:23 +07:00
parent b9bd464bac
commit eefc761c55
1 changed files with 1 additions and 1 deletions

View File

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