Lightweight Mattermost frontend with multi-server support. Core functionality present.
Find a file
2020-03-25 22:17:24 +01:00
etc Fix CORS: make mitmproxy intercept OPTIONS 2020-03-25 22:14:00 +01:00
.gitignore Fix CORS: make mitmproxy intercept OPTIONS 2020-03-25 22:14:00 +01:00
index.html Fix token validation 2020-03-25 22:17:24 +01:00
main.js Fix token validation 2020-03-25 22:17:24 +01:00
README.md README with some instructions 2020-03-24 22:52:12 +01:00
rundev.sh Fix CORS: make mitmproxy intercept OPTIONS 2020-03-25 22:14:00 +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"