Lightweight Mattermost frontend with multi-server support. Core functionality present.
Find a file
2020-03-25 18:46:28 +01:00
index.html Avoid CORS in login, add token validation 2020-03-25 18:46:28 +01:00
main.js Avoid CORS in login, add token validation 2020-03-25 18:46:28 +01:00
README.md README with some instructions 2020-03-24 22:52:12 +01:00
xhr.js Avoid CORS in login, add token validation 2020-03-25 18:46:28 +01:00

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"