Watch
1
0
Fork
You've already forked RedFlag
0

README: fix installer commands to use header-based token auth

This commit is contained in:
Fimeg 2026-06-11 17:24:09 -04:00
commit 7c25204bd8

View file

@ -64,12 +64,12 @@ Get a registration token from **Settings → Token Management**, then:
**Linux / macOS:**
```bash
curl -sfL https://your-server.com/install | sudo bash -s -- your-registration-token
curl -sfL -H "X-Registration-Token: your-token" "https://your-server.com/api/v1/install/linux" | sudo bash
```
**Windows:**
```powershell
iwr https://your-server.com/install.ps1 | iex your-registration-token
iwr -Headers @{"X-Registration-Token"="your-token"} "https://your-server.com/api/v1/install/windows" | iex
```
---