path correction

This commit is contained in:
sandhiya-hepl
2026-07-15 18:22:52 +05:30
parent e84c1adac4
commit abb35c0e03
15 changed files with 518 additions and 42 deletions
+8
View File
@@ -6,8 +6,16 @@ CORS_ORIGIN=http://localhost:5173
UPLOAD_DIR=./server/uploads
DATA_DIR=./server/data
# Production (demo.cavinkare.in/citpl_website):
# 1. Copy dist/ + server/ + package.json + .env to the host
# 2. npm install --omit=dev && npm run server (or pm2 start server/index.js)
# 3. Ensure Apache serves dist/ at /citpl_website/ with public/.htaccess
# (PHP api/index.php proxies /api → 127.0.0.1:3001)
# CORS_ORIGIN=https://demo.cavinkare.in
# Leave unset to auto-use Vite base:
# local: /api/...
# prod: /citpl_website/api/...
# Only set if the API is on a different host than the site.
# VITE_API_BASE=
# SERVE_STATIC=1