sincraianul / generator-angular-material-fullstack

Yeoman generator for Angular with Angular Material and an Express server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restrict access origin

GilVieira opened this issue · comments

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?