- 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>
4 lines
194 B
JavaScript
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';
|