Modify the host file, like /etc/hosts
, add this line:
127.0.0.1 chat.local.zhishuyun.com
Then save it.
Run below command to generate certs:
yarn run init:https
Then install the .crt
file and trust it.
Run below command to start local server:
sudo yarn start
Then open https://chat.local.zhishuyun.com
to view the content.