Revert "properly set up cors headers to allow cross-origin resource sharing"

This reverts commit e4f5fbd21f87e6a79a2581b471c4b0e98457e726.