What should be added on CORS whitelist domains before and after deployment

213 Views Asked by At

I have a react frontend and backend server running with node js. i wanted to enable CORS on specific domains to allow APIcalls to the backend. i added for example http://localhost . the front end and backend will be deployed on GCP App engine , my question is , what other domains i need to add to the white list after deployment

is there a way to set a specific domain name for the frontend so i can add it in the backend constant whitelist

0

There are 0 best solutions below