I was wondering if anyone knows how to use https on dev for the \'create-react-app\' environment. I can\'t see anything about that in the README or quick googling. I just wa
I think it is worth to mention to set PORT=443, default HTTPS standard port.
You can avoid to attach :PORT at the end of the address every time.
My package.json is like (tested from Ubuntu Server 18.04):
{
...
"scripts": {
"start": "HTTPS=true PORT=443 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
...
}