From 6e3f5697940c03a4705309dcdedbf846a60f6f71 Mon Sep 17 00:00:00 2001 From: aadarsh805 Date: Fri, 3 Mar 2023 20:16:18 +0530 Subject: [PATCH] flask api deployment fix --- pages/api/scrape.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/scrape.ts b/pages/api/scrape.ts index 973e96e..0665861 100644 --- a/pages/api/scrape.ts +++ b/pages/api/scrape.ts @@ -5,7 +5,7 @@ const scrape = async (req: NextApiRequest, res: NextApiResponse) => { const { username } = req.body; try { const response = await axios.get( - `https://filthy-stage-production.up.railway.app/${username}` + `https://web-production-134e2.up.railway.app//${username}` ); res.status(200).json({ data: response.data }); } catch (error) {