Reputation: 41
In IBM WAS and all we have an option to add the certificate to truststore, to get rid of such certificate issues. What we should do with npm ?
Upvotes: 1
Views: 5252
Reputation: 19278
The CLI is just a local proxy for development. You can add "secure": false
to prevent the error.
Example:
{
"/api": {
"target": "https://localhost:3000",
"secure": false
}
}
Upvotes: 4