Added header to allow accepting cross domain requests for generating previews