From 0f574ec6d7312ad77266c73840e0ebe0bd3d909d Mon Sep 17 00:00:00 2001 From: Devansh3712 Date: Wed, 26 Jul 2023 21:50:23 +0530 Subject: [PATCH] src/lib/paddles.ts: Add VITE_ prefix to env variables Signed-off-by: Devansh3712 --- src/lib/paddles.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/paddles.ts b/src/lib/paddles.ts index f7e70bc..1d34a06 100644 --- a/src/lib/paddles.ts +++ b/src/lib/paddles.ts @@ -4,8 +4,7 @@ import type { UseQueryResult } from "@tanstack/react-query"; import type { GetURLParams, Run, Job } from "./paddles.d"; const PADDLES_SERVER = - import.meta.env.REACT_APP_PADDLES_SERVER || - "https://paddles.front.sepia.ceph.com"; + import.meta.env.VITE_PADDLES_SERVER || "https://paddles.front.sepia.ceph.com"; function getURL(endpoint: string, params?: GetURLParams) { // Because paddles' API is clunky, we have to do extra work. If it were