mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 16:02:08 +00:00
13 lines
470 B
Text
13 lines
470 B
Text
|
|
# API Configuration
|
||
|
|
# Copy this file to .env and update with your actual values
|
||
|
|
|
||
|
|
# Backend API base URL (Ky prefixUrl). API route paths do NOT include /api — it comes from here.
|
||
|
|
# Development: use /api (Vite proxies /api to VITE_API_TARGET)
|
||
|
|
#VITE_API_URL=/api
|
||
|
|
|
||
|
|
# Production: absolute URLs MUST include the /api path segment
|
||
|
|
VITE_API_URL=https://api.seahavenindustries.com/api
|
||
|
|
|
||
|
|
# Development proxy target (used by vite.config.ts)
|
||
|
|
#VITE_API_TARGET=http://localhost:5141
|