Revert "Kumaran | #821 | Fix for Access-Control-Allow-Origin header occuring twice - Attempt-1"

This reverts commit 7b468d4f0b3d72cf5cd22f3a91ef11a6f574bcfb.