diff --git a/README.md b/README.md new file mode 100644 index 0000000..3f078ca --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Start a mitmproxy with: +``` +mitmproxy -m "reverse:https://YOUR_MATTERMOST_DOMAIN" -H '/~a | ! ~a/Access-Control-Expose-Headers/*, Authorization, Content-Length, Token' -H '/~a | ! ~a/Access-Control-Allow-Origin/http://localhost:8000' +``` + +Run locally: +``` +cd /path/to/repo; python -m "http.serve" +```