I am trying to run my website and I am getting the following error:
This is my project structure
This is my proxy config
"/api/v1/home/getPlaformBaseUrls": {
"target": "API_BASE_PROXY_URL",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
And this is my tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es7",
"dom",
"dom.iterable"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
Looks like the issue is I am replacing an HTTP localhost URL with a HTTPS cloud url
"/api/v1/home/getPlaformBaseUrls": {
"target": "https://something.cloud.local/baseurl",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
How should I fix this? Is it corrs issue?
There are some laptops which I cannot see the error and some laptops I can see this error. So the error is machine specific.