URL Shortening Landing Page using React, Vite, CSS Modules

Solution retrospective
The CORS is a pain. It's perfectly working in my development environment because it's handled by Vite. When I deployed it, the CORS blocked the request for the API that I had to create a proxy for the Vercel deployment. It took me a bit of experimentation to get it right since the error only occurs in production environment.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Oshu's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord