Browser was fetching localhost on the Space. Use process.env at build time, exclude .env.local from Docker, and keep NEXT_PUBLIC_API_URL empty in the image.
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(frontend): use API_BASE in authMe for production build