Skip to content

Commit

Permalink
Merge pull request #80 from Aadarsh805/api-fix
Browse files Browse the repository at this point in the history
flask api deployment fix
  • Loading branch information
Aadarsh805 authored Mar 3, 2023
2 parents ff90d89 + 6e3f569 commit 42c9e1d
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

1 comment on commit 42c9e1d

@vercel
Copy link

@vercel vercel bot commented on 42c9e1d Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.