mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
chore: update gitignore and env example for Vite
This commit is contained in:
parent
fac35319e5
commit
d27a13fe23
2 changed files with 14 additions and 8 deletions
12
.env.example
12
.env.example
|
|
@ -1,13 +1,11 @@
|
||||||
# API Configuration
|
# API Configuration
|
||||||
# Copy this file to .env and update with your actual values
|
# Copy this file to .env and update with your actual values
|
||||||
|
|
||||||
# Backend API Base URL (without /api suffix)
|
# Backend API base URL (Vite proxy uses /api in development)
|
||||||
# For local development, this should point to your ASP.NET Core API
|
#VITE_API_URL=/api
|
||||||
#REACT_APP_API_URL=http://localhost:5000
|
|
||||||
|
|
||||||
# For production, update to your production API URL
|
# For production, update to your production API URL
|
||||||
REACT_APP_API_URL=https://api.seahavenindustries.com
|
VITE_API_URL=https://api.seahavenindustries.com
|
||||||
|
|
||||||
# Note: The /api prefix is added in the service files
|
|
||||||
# Example: ${REACT_APP_API_URL}/api/Authentication/login
|
|
||||||
|
|
||||||
|
# Development proxy target (used by vite.config.ts)
|
||||||
|
#VITE_API_TARGET=http://localhost:5141
|
||||||
|
|
|
||||||
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -8,8 +8,13 @@
|
||||||
|
|
||||||
# testing
|
# testing
|
||||||
/coverage
|
/coverage
|
||||||
|
/test-results
|
||||||
|
/playwright-report
|
||||||
|
/blob-report
|
||||||
|
/playwright/.cache
|
||||||
|
|
||||||
# production
|
# production
|
||||||
|
/dist
|
||||||
/build
|
/build
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
|
@ -24,4 +29,7 @@ yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
db.txt
|
db.txt
|
||||||
seed-data.sql
|
seed-data.sql
|
||||||
/backend
|
/backend
|
||||||
|
|
||||||
|
# eslint
|
||||||
|
.eslintcache
|
||||||
Loading…
Add table
Reference in a new issue