my-modest-frontend-tooling
v0.2.0
Published
`clear;npm start -- --config config.json` `clear;npm start -- --config config.json --key key.pem --cert cert.pem` `..\..\node_modules\.bin\http-server`
Downloads
6
Readme
clear;npm start -- --config config.json
clear;npm start -- --config config.json --key key.pem --cert cert.pem
..\..\node_modules\.bin\http-server
{
"source": "/http:\\/\\/localhost:8080\\/script(.*)\\.js/" ,
"target": "http://localhost:8080/newscript$1.js/"
}
--config
- mandatory
--key
and --cert
=> https
--generate-certs
=> https with new certs
no --key
, --cert
or --generate-certs
=> http
https://httptoolkit.com/blog/javascript-mitm-proxy-mockttp/