chore: update gitignore and env example for Vite

This commit is contained in:
Arthur Bassi 2026-06-12 11:57:11 -03:00
parent fac35319e5
commit d27a13fe23
2 changed files with 14 additions and 8 deletions

View file

@ -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

10
.gitignore vendored
View file

@ -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
/backend
# eslint
.eslintcache