From 43ae4db0082980f575da31e419586abc871dedfe Mon Sep 17 00:00:00 2001 From: armando Date: Mon, 18 Dec 2023 19:15:20 -0800 Subject: [PATCH] Revert "fix proxy" This reverts commit 43609f4acbbc66cd30192dc352961ee9a311047b. --- pages/api/reservoir/[...slug].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/reservoir/[...slug].ts b/pages/api/reservoir/[...slug].ts index a5f51ecc2..73d660600 100644 --- a/pages/api/reservoir/[...slug].ts +++ b/pages/api/reservoir/[...slug].ts @@ -77,7 +77,7 @@ const proxy = async (req: NextApiRequest, res: NextApiResponse) => { res.redirect(url.href) return } else if (endpoint.match(/\/users\/(\w+)\/tokens\/v7/g)) { - if (url.searchParams.get('limit') === '197') { + if (url.searchParams.get('limit') === '198') { res.status(403).json({ error: 'Access forbidden' }) } }