mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-06 01:52:04 +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
|
||||
# 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
10
.gitignore
vendored
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue