adding middleware layer to resolve CORS error with React. when HTTP requests are made from the browser (i.e. within front-end components), the localhost address of the React development server hosting the display web app should now be received as an allowed origin. we may need to look into this again if we plan to run the database on a different machine than the one running the database instance, but for now it should work i think?
adding middleware layer to resolve CORS error with React. when HTTP requests are made from the browser (i.e. within front-end components), the localhost address of the React development server hosting the display web app should now be received as an allowed origin. we may need to look into this again if we plan to run the database on a different machine than the one running the database instance, but for now it should work i think?