Files
OMT-SM/server/.env.example
T

10 lines
405 B
Bash

# Server config (copy to server/.env or set in your shell)
PORT=4000
DATABASE_URL=postgres://postgres:postgres@localhost:5432/crm_omt
JWT_SECRET=change-me-to-a-long-random-string
JWT_EXPIRES_IN=12h
CORS_ORIGIN=http://localhost:5173,http://localhost:8080
# Frontend clients on the same LAN can use the host machine's IP automatically.
# Add fixed origins here if you want to restrict access more tightly.