the_monkeys
the_monkeys copied to clipboard
fix: implement environment-based API proxy for cross-domain authentic…
…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
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.