feat: update Mattermost proxy configuration and documentation for improved clarity and default behavior

This commit is contained in:
2026-05-19 16:15:48 -06:00
parent b886c61afd
commit 3816487bec
4 changed files with 41 additions and 4 deletions

View File

@@ -20,6 +20,9 @@ mkdir -p "$MATTERMOST_MIRROR_DIR"
echo "Mattermost proxy mirror output: $MATTERMOST_MIRROR_DIR"
echo "Listening on ${MATTERMOST_MIRROR_LISTEN_HOST}:${MATTERMOST_MIRROR_LISTEN_PORT}"
echo "Launch Mattermost Desktop with: scripts/mattermost-proxy/launch-mattermost.sh"
if [ -z "${MATTERMOST_MIRROR_HOST_ALLOW:-}" ]; then
echo "MATTERMOST_MIRROR_HOST_ALLOW is not set; capturing /api/v4 traffic from the proxied app."
fi
exec mitmdump \
--listen-host "$MATTERMOST_MIRROR_LISTEN_HOST" \