+1 vote
in ReactJS by

How to use https instead of http in create-react-app?

1 Answer

0 votes

You just need to use HTTPS=true configuration. You can edit your package.json scripts section:

"scripts": {
  "start": "set HTTPS=true && react-scripts start"

or just run set HTTPS=true && npm start

Related questions

0 votes
asked Feb 14, 2023 in ReactJS by Robindeniel
0 votes
0 votes
asked Dec 18, 2023 in ReactJS by rahuljain1