Hello, i am trying unsuccessfully to restrict access to enpoints only to my domain, i sought examples of expression, but only found as free full access and not restrict, tried res.header('Access-Control-Allow-Origin', 'myDomain'), but it did not work, could someone help me?
Hello, i am trying unsuccessfully to restrict access to enpoints only to my domain, i sought examples of expression, but only found as free full access and not restrict, tried res.header('Access-Control-Allow-Origin', 'myDomain'), but it did not work, could someone help me?