From 8080706ee1caf620bc02db56e6093a2d8e22a5bb Mon Sep 17 00:00:00 2001 From: Eesha Date: Mon, 11 Nov 2024 11:27:35 -0500 Subject: [PATCH] stop infinite loop rewrite --- packages/app/vercel.json | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/app/vercel.json b/packages/app/vercel.json index 310af5c..613af03 100644 --- a/packages/app/vercel.json +++ b/packages/app/vercel.json @@ -1,9 +1,12 @@ { - "rewrites": [ - { - "source": "/(.*)", - "destination": "https://proof-of-twitter-vert.vercel.app/$1" - } - ] - } - \ No newline at end of file + "rewrites": [ + { + "source": "/api/(.*)", + "destination": "https://external-service.com/api/$1" + }, + { + "source": "/(.*)", + "destination": "/" + } + ] +}