From 2a60c525ac37ee1cf79447007adffa98a195fb34 Mon Sep 17 00:00:00 2001 From: Arthur Bassi Date: Tue, 16 Jun 2026 09:15:31 -0300 Subject: [PATCH] chore(env): switch tracked env vars to Vite prefixes --- .env | 3 +-- .env.development | 4 ++-- .env.production | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.env b/.env index bcd368b5..292a14c0 100644 --- a/.env +++ b/.env @@ -1,2 +1 @@ -REACT_APP_API_URL= - +VITE_API_URL= diff --git a/.env.development b/.env.development index 8f001ee9..2f34890a 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # Development API URL (uses proxy) -REACT_APP_API_URL=/api +VITE_API_URL=/api # Development API Target (for proxy) -REACT_APP_API_TARGET=http://localhost:5141 +VITE_API_TARGET=http://localhost:5141 diff --git a/.env.production b/.env.production index 5c315e08..463f1b57 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ # Production API URL -REACT_APP_API_URL=http://console.seahavenind.com/api +VITE_API_URL=http://console.seahavenind.com/api