3 Commits

Author SHA1 Message Date
Ichsan Kurniawan aa99536a32 Route server requests through local API
Use BASE_URL_API_LOCAL_SERVER for server-side data requests and load the layout session through the cached helper. Update production URLs to HTTPS and use 127.0.0.1 for local API endpoints.
2026-11-10 17:23:53 +07:00
Ichsan Kurniawan b329a89f2d Add local API endpoints to env configs
Configure local-server API URLs for development, staging, and production, and add an internal NextAuth URL for development.
2026-11-10 16:43:56 +07:00
Ichsan Kurniawan d0db9ee429 Add VPS deployment automation
This change adds staging and production deployment configuration for the VPS setup, including `.env.deploy.example`, `.env.staging`, and updated production environment values. It also introduces a PowerShell deployment script that builds the app, packages the Next.js artifact, uploads it to the server, and reloads PM2. Package scripts were added for staging and production deploys, and the TypeScript config now excludes legacy `.old` files.
2026-10-05 19:52:11 +07:00