Commit d7e9e88
Manus AI
fix: Support full URL with protocol in --host parameter
The --host parameter now accepts full URLs with protocol (http:// or https://)
instead of hardcoding https. This allows users to register against local
development instances using http://localhost:8000.
Changes:
- Accept full URL: https://api.fleetbase.io or http://localhost:8000
- Auto-add https:// if protocol is missing (backward compatible)
- Updated option description to clarify full URL format
Examples:
flb register --host https://api.fleetbase.io
flb register --host http://localhost:8000
flb register --host myinstance.com (defaults to https://)1 parent 117da69 commit d7e9e88
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
728 | 730 | | |
729 | 731 | | |
730 | 732 | | |
| |||
1183 | 1185 | | |
1184 | 1186 | | |
1185 | 1187 | | |
1186 | | - | |
| 1188 | + | |
1187 | 1189 | | |
1188 | 1190 | | |
1189 | 1191 | | |
| |||
0 commit comments