Improve instructions and change name

This commit is contained in:
Midgard 2020-03-26 16:06:42 +01:00
parent ae525c8904
commit 35c8ea0d3c
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 5 additions and 9 deletions

View file

@ -1,9 +1,5 @@
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'
```
To run in development mode, run `rundev.sh` in a shell.
This will start a web server, and mitmproxy to avoid CORS problems.
Dependencies for that: Bash, Python and [`mitmproxy`](https://mitmproxy.org/).
Run locally:
```
cd /path/to/repo; python -m "http.serve"
```
Then open http://localhost:8000/ in your browser.

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Bettermost</title>
<title>Feathermost</title>
</head>
<body>
<form>