Skip to content

Commit

Permalink
chore (doc): README
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Jan 18, 2024
1 parent 604bfed commit f66c4e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ WebPty works with an associated [web fleet server](https://github.com/mickael-ke
- run webfleet (alpha release):
```
# run the fleet server
sudo CERTBOT=home.webptio.io AUTH_DRIVER=simple AUTH_USER=username:password ./webfleet.bin
sudo CERTBOT=example.com AUTH_DRIVER=simple AUTH_USER=username:password ./webfleet.bin
# attach your webpty to the fleet server
FLEET=home.webpty.io go run ./main.go
FLEET=example.com go run ./main.go
```
2 changes: 1 addition & 1 deletion webfleet/model/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func GetMachineInfo() []byte {
if isMac() {
return execCmd("scutil", "--get", "HostName")
} else if isAndroid() {
return ""
return "android"
}
content, err := os.ReadFile("/etc/hostname")
if err != nil {
Expand Down

0 comments on commit f66c4e1

Please sign in to comment.