This repository was archived by the owner on Aug 30, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork18
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
login: Malformed login URL arg breaks login, sh and sync #53
Closed
Description
As a naive user I tried
coder login localhost:8080
coder login master.cdr.dev
The browser auto-launch of the login URL is malformed in the above cases (and the text on terminal if autolaunch fails)
If I specify the full URL eg.coder login http://localhost:8080
the URL generated is correct, and subsequentcoder sh
andcoder sync
ops work.
Recommend adding logic to prependhttp://
if not specified by the user.