diff --git a/backend/.env.example b/backend/.env.example index 90332ce..eec048d 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -19,7 +19,7 @@ GOOGLE_CLIENT_ID= # Server Configuration PORT=3001 API_URL=http://localhost:3001 -FRONTEND_URL=http://localhost:3002 +FRONTEND_URL=http://localhost:3019 # Revalidation secret (shared with frontend for on-demand cache revalidation) # Must match the REVALIDATE_SECRET in frontend/.env diff --git a/deploy/spanglish-backend.service b/deploy/spanglish-backend.service index 5f44099..b69a4c3 100644 --- a/deploy/spanglish-backend.service +++ b/deploy/spanglish-backend.service @@ -8,9 +8,9 @@ Type=simple User=spanglish Group=spanglish WorkingDirectory=/home/spanglish/Spanglish/backend +EnvironmentFile=/home/spanglish/Spanglish/backend/.env Environment=NODE_ENV=production Environment=PORT=3018 -EnvironmentFile=/home/spanglish/Spanglish/backend/.env ExecStart=/usr/bin/node dist/index.js Restart=on-failure RestartSec=10