CORS Middleware and config

My local api mock and dev severs are on different ports, not allowing me to communicate to the mock.  This should help.