diff --git a/README.md b/README.md index 26a94ca..b4cbef3 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/webfleet/model/machine.go b/webfleet/model/machine.go index 67df123..af9b0c8 100644 --- a/webfleet/model/machine.go +++ b/webfleet/model/machine.go @@ -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 {