Use CorsHelper from sampler