the_monkeys icon indicating copy to clipboard operation
the_monkeys copied to clipboard

fix: implement environment-based API proxy for cross-domain authentic…

Open daveaugustus opened this issue 3 months ago • 1 comments

…ation

  • Add Next.js rewrites to proxy /api/v1/* and /api/v2/* requests
  • Read API URLs from environment variables (NEXT_PUBLIC_API_URL*)
  • Resolve cross-domain cookie authentication issues
  • Enable proper session management and Create button visibility
  • No hardcoded URLs for security compliance

📃 Why Merge This PR?

Briefly describe the changes, fixes, or new features introduced in this PR.

🛠️ Issue Fixed

List any issues this PR resolves (e.g., Fixes #123).

🔍 PR Type

  • [ ] 💡 Feature
  • [ ] 🐛 Bug Fix
  • [ ] 📃 Documentation
  • [ ] 🎨 UI Improvements
  • [ ] 💻 Code Refactor
  • [ ] ✅ Tests

daveaugustus avatar Aug 12 '25 19:08 daveaugustus

Deploy Preview for incredible-eclair-ada155 ready!

Name Link
Latest commit
Latest deploy log https://app.netlify.com/projects/incredible-eclair-ada155/deploys/689b9678881eb88f488be73a
Deploy Preview https://deploy-preview-373--incredible-eclair-ada155.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Aug 12 '25 19:08 netlify[bot]