create-react-app: how to use https instead of http?

后端 未结 19 1384
眼角桃花
眼角桃花 2020-12-24 10:04

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

19条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 10:45

    I could not get that to work (setting HTTPS=true), instead, i used

    react-https-redirect

    A simple wrapper around your App component.

提交回复
热议问题