docs: fix trailing slash in pair-qr curl command

This commit is contained in:
Johannes Merz 2026-05-16 02:58:18 +02:00
parent ad95ea3efd
commit 3a4a6af942
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ curl -s "http://<SIDECAR_URL>/pair-qr?token=<TOKEN>"
Or one-liner (reads token from tmux pane automatically):
```bash
TOKEN=$(tmux capture-pane -t pi-sidecar -p | grep -o 'token=[^ ]*' | head -1 | cut -d= -f2) && \
SIDECAR=$(tmux capture-pane -t pi-sidecar -p | grep -o 'http://[^ ]*' | head -1 | sed 's/?.*//') && \
SIDECAR=$(tmux capture-pane -t pi-sidecar -p | grep -o 'http://[^ ]*' | head -1 | sed 's/?.*//; s|/$||') && \
curl -s "$SIDECAR/pair-qr?token=$TOKEN"
```