Implemented CORS for pure mortgage calculation