blkCodeCollctve / bcc

Black Code Collective Website
10 stars 4 forks source link

Add Nginx To Serve as Proxy Server #22

Open mdiarra3 opened 7 years ago

mdiarra3 commented 7 years ago

CORS....We are not able to correctly make a request for a file locally (apikeys.json) or make a request to certain APIs (MeetUp) without coming across that error. To follow best practices and avoid creating a security risk for the application we will need to modify the webpack server to handle proxy request.

Potential Sources: Access Control CORS Dont Hassle With CORS Proxy APIs to Avoid Same Origin Issues Server Proxy for Cross Origin Resource Sharing CORS Web Pack Documentation

Acceptance Criteria: