Skip to content

Commit

Permalink
flask api deployment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadarsh805 committed Mar 3, 2023
1 parent 84f6e7d commit 6e3f569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/scrape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6e3f569

Please sign in to comment.