This repository was archived by the owner on Aug 30, 2024. It is now read-only.
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 subsequent coder sh
and coder sync
ops work.
Recommend adding logic to prepend http://
if not specified by the user.