Skip to main content
InterviewHubPRO
Section Overview
Q359

Question 359 of 407

Part 9: React Hooks Deep Dive (262 - 316)

88%
React Core & Hooks (407 Qs)•Part 9: React Hooks Deep Dive (262 - 316)

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

mid LevelCode ExampleHooksHTTP & REST APIs

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

json
    "scripts": {
      "start": "set HTTPS=true && react-scripts start"
    }
arduino
or just run `set HTTPS=true && npm start`