P粉4781887862023-09-05 21:36:12
Both of you are responsible for completing this application, blaming each other will not solve the problem. This is not a technical issue.
Adding a proxy to the front-end development environment is one way to solve this problem. Another way is to whitelist the domain they are working on, or even add wildcards as the front-end developers suggest. CORS is a security feature, but is meaningless for a development environment that does not contain any production data. Being able to get your development environment up and running without too much hassle helps increase productivity.
work together. Your responsibility is to create an application, and without a front-end, you cannot complete the task of delivering the application.