social-reporting-tool/frontend/config.js
DJP c5c40aa4e5 Add server deployment: Apache proxy, static frontend, deploy script
- Static frontend (index.html, login.html, config.js) for Apache serving
- JSON-based auth API endpoints (/api/login, /api/auth, /api/logout)
- Apache config with ProxyPass for /social-reports path
- deploy/setup.sh for Ubuntu + Apache + Docker deployment
- docker-compose.prod.yml binds ports to 127.0.0.1 only
- Configurable API base URL via frontend/config.js

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 11:23:47 -04:00

4 lines
194 B
JavaScript

// ─── Frontend config (injected before app scripts) ───
// API base points to the proxied backend path
window.__API_BASE = '/social-reports';
window.__SSE_BASE = '/social-reports';