path correction
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user