From f7a640415c62bcc56dcae29b0deca12288d77fff Mon Sep 17 00:00:00 2001 From: Matt Rice Date: Wed, 15 Jan 2025 14:56:53 -0500 Subject: [PATCH] Update available-routes.ts --- api/available-routes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/available-routes.ts b/api/available-routes.ts index 5c9e190fa..55d7ef331 100644 --- a/api/available-routes.ts +++ b/api/available-routes.ts @@ -30,6 +30,7 @@ type AvailableRoutesQueryParams = Infer< const handler = async (_: any, response: VercelResponse) => { if (envFile === "") { response.status(500).json({ error: "ERROR NO ENV FOUND" }); + return; } response.status(200).json({ test: process.env.GIT_ENV_EXPORTED,