A very simple HTTP and HTTPS server for local static files.
npm install https-serve```
(mkdir -p $HOME/.https-serve/ && cd $HOME/.https-serve/ && sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt)
> Important: Find your crt/key files in $HOME/.https-serve/.
``
npm install -g https-serve
find and entry your assets folder
``
sudo https-serve
``
open https://localhost/
open http://localhost/
```
PORT=1080 HTTPS_PORT=1443 https-serve