npmStart0 / server

3 stars 9 forks source link

Implement CORS Policy and Environment Variable Configuration in WebAPI Project #12

Open MiriamKapach opened 2 months ago

MiriamKapach commented 1 month ago

Update CORS settings in the project to allow access to the server only from our client-side URL. Utilize environment variables to store the allowed URL. Additionally, consider the possibility of loading environment variables in the WebAPI project if required. Ensure that loading environment variables for development environment only.