From d27a13fe23d430726004a0f9c3a1daa3a5b2af24 Mon Sep 17 00:00:00 2001 From: Arthur Bassi Date: Fri, 12 Jun 2026 11:57:11 -0300 Subject: [PATCH] chore: update gitignore and env example for Vite --- .env.example | 12 +++++------- .gitignore | 10 +++++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.env.example b/.env.example index d6aba20e..dd95da2b 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,11 @@ # API Configuration # Copy this file to .env and update with your actual values -# Backend API Base URL (without /api suffix) -# For local development, this should point to your ASP.NET Core API -#REACT_APP_API_URL=http://localhost:5000 +# Backend API base URL (Vite proxy uses /api in development) +#VITE_API_URL=/api # For production, update to your production API URL - REACT_APP_API_URL=https://api.seahavenindustries.com - -# Note: The /api prefix is added in the service files -# Example: ${REACT_APP_API_URL}/api/Authentication/login +VITE_API_URL=https://api.seahavenindustries.com +# Development proxy target (used by vite.config.ts) +#VITE_API_TARGET=http://localhost:5141 diff --git a/.gitignore b/.gitignore index b44bc67e..ae98061c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,8 +8,13 @@ # testing /coverage +/test-results +/playwright-report +/blob-report +/playwright/.cache # production +/dist /build # misc @@ -24,4 +29,7 @@ yarn-debug.log* yarn-error.log* db.txt seed-data.sql -/backend \ No newline at end of file +/backend + +# eslint +.eslintcache \ No newline at end of file