diff --git a/server/sources/producthunt.ts b/server/sources/producthunt.ts index 4e4c719..321ccca 100644 --- a/server/sources/producthunt.ts +++ b/server/sources/producthunt.ts @@ -2,7 +2,7 @@ import * as cheerio from "cheerio" import type { NewsItem } from "@shared/types" export default defineSource(async () => { - const baseURL = "https://www.producthunt.com/" + const baseURL = "https://www.producthunt.com" const html: any = await myFetch(baseURL) const $ = cheerio.load(html) const $main = $("[data-test=homepage-section-0] [data-test^=post-item]")