Add Access-Control-Allow-Origin in redirect