refactor: change scrape endpoint path
This commit is contained in:
parent
add557c1c3
commit
b9bd464bac
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue