fix cors issue for angular 10 code example
Example 1: angular cors issue
header('Access-Control-Allow-Origin: *');
Example 2: adding cors in angular
"architect": {
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "project-name:build",
"proxyConfig": "src/proxy.conf.json"
},
}
}